From 9d55e10a3b950ed7f0d1b35dc9cdcdfd39bba965 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Tue, 20 Sep 2011 18:36:12 +0000 Subject: [PATCH] Added ability for StrongPtr to handle arrays. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1107 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SmartPtr/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/SmartPtr/main.cpp b/test/SmartPtr/main.cpp index 87390a6..66f9248 100644 --- a/test/SmartPtr/main.cpp +++ b/test/SmartPtr/main.cpp @@ -36,6 +36,7 @@ extern void DoStrongConstTests( void ); extern void DoStrongForwardReferenceTest( void ); extern void DoStrongCompareTests( void ); extern void DoStrongPtrDynamicCastTests( void ); +extern void DoStrongArrayTests( void ); extern void DoLockedPtrTest( void ); extern void DoLockedStorageTest( void ); @@ -1546,7 +1547,7 @@ int main( int argc, const char * argv[] ) DoRefLinkSwapTests(); DoComRefTest(); - TryColvinGibbonsTrick(); + TryColvinGibbonsTrick(); DoStrongConstTests(); DoConstConversionTests(); @@ -1554,6 +1555,7 @@ int main( int argc, const char * argv[] ) DoInheritanceConversionTests(); DoSmartPtrDynamicCastTests(); DoStrongPtrDynamicCastTests(); + DoStrongArrayTests(); #if defined (LOKI_OBJECT_LEVEL_THREADING) || defined (LOKI_CLASS_LEVEL_THREADING) if ( doThreadTest )