diff --git a/test/CachedFactory/CachedFactoryTest.cpp b/test/CachedFactory/CachedFactoryTest.cpp index 4b6328a..ad66f98 100644 --- a/test/CachedFactory/CachedFactoryTest.cpp +++ b/test/CachedFactory/CachedFactoryTest.cpp @@ -391,9 +391,14 @@ bool testCache() #include +template +class SmartPointer_OneTArg : public SmartPointer +{ +}; + bool testSmartPointer() { - typedef CachedFactory< AbstractProduct, int, NullType, SmartPointer, AlwaysCreate, EvictRandom, SimpleStatisticPolicy > CFactory; + typedef CachedFactory< AbstractProduct, int, NullType, SmartPointer_OneTArg, AlwaysCreate, EvictRandom, SimpleStatisticPolicy > CFactory; CFactory factory; factory.Register(0, createProductNull); for(int i=0;i<500;++i)