September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks to a bug report submitted by funcall
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@141 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
f0620e3c6e
commit
934bc1b147
4 changed files with 12 additions and 4 deletions
|
@ -117,7 +117,7 @@ namespace Loki
|
|||
{ me.pPrototype_ = pObj; }
|
||||
|
||||
template <class U>
|
||||
void GetPrototype(AbstractProduct*& p)
|
||||
void GetPrototype(U*& p)
|
||||
{ return DoGetPrototype(*this, p); }
|
||||
|
||||
template <class U>
|
||||
|
@ -160,6 +160,8 @@ namespace Loki
|
|||
// Change log:
|
||||
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
|
||||
// July 16, 2002: Ported by Terje Slettebø and Pavel Vozenilek to BCC 5.6
|
||||
// September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks
|
||||
// to a bug report submitted by funcall.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // ABSTRACTFACTORY_INC_
|
||||
|
|
|
@ -158,7 +158,7 @@ namespace Loki
|
|||
{ me.pPrototype_ = pObj; }
|
||||
|
||||
template <class U>
|
||||
void GetPrototype(AbstractProduct*& p)
|
||||
void GetPrototype(U*& p)
|
||||
{ return DoGetPrototype(*this, p); }
|
||||
|
||||
template <class U>
|
||||
|
@ -216,6 +216,8 @@ namespace Loki
|
|||
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
|
||||
// Oct 24, 2002: ported by Benjamin Kaufmann to MSVC 6.0
|
||||
// Feb 20, 2003: replaced pointer-dummy parameters with Type2Type-parameters. B.K.
|
||||
// September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks
|
||||
// to a bug report submitted by funcall.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // ABSTRACTFACTORY_INC_
|
||||
|
|
|
@ -117,7 +117,7 @@ namespace Loki
|
|||
{ me.pPrototype_ = pObj; }
|
||||
|
||||
template <class U>
|
||||
void GetPrototype(AbstractProduct*& p)
|
||||
void GetPrototype(U*& p)
|
||||
{ return DoGetPrototype(*this, p); }
|
||||
|
||||
template <class U>
|
||||
|
@ -160,6 +160,8 @@ namespace Loki
|
|||
// Change log:
|
||||
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
|
||||
// May 10, 2002: ported by Rani Sharoni to VC7 (RTM - 9466)
|
||||
// September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks
|
||||
// to a bug report submitted by funcall.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // ABSTRACTFACTORY_INC_
|
||||
|
|
|
@ -117,7 +117,7 @@ namespace Loki
|
|||
{ me.pPrototype_ = pObj; }
|
||||
|
||||
template <class U>
|
||||
void GetPrototype(AbstractProduct*& p)
|
||||
void GetPrototype(U*& p)
|
||||
{ return DoGetPrototype(*this, p); }
|
||||
|
||||
template <class U>
|
||||
|
@ -158,6 +158,8 @@ namespace Loki
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Change log:
|
||||
// September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks
|
||||
// to a bug report submitted by funcall.
|
||||
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Reference in a new issue