diff --git a/test/CachedFactory/CachedFactoryTest.cpp b/test/CachedFactory/CachedFactoryTest.cpp index 61c6907..cd67e49 100644 --- a/test/CachedFactory/CachedFactoryTest.cpp +++ b/test/CachedFactory/CachedFactoryTest.cpp @@ -43,7 +43,7 @@ typedef long milliSec; #include milliSec getmilliSeconds() { - return std::clock()*1000/CLOCKS_PER_SEC; + return clock()*1000/CLOCKS_PER_SEC; } #else #include