]> git.mxchange.org Git - simgear.git/blobdiff - simgear/timing/testtimestamp.cxx
remove CopyPolicy from ModelRegistry
[simgear.git] / simgear / timing / testtimestamp.cxx
index 88abc50486a02b11cca8692cc83218ff48a15176..1c49d1018a15ee5876292b4e3266f0d9dcc88bae 100755 (executable)
@@ -14,7 +14,7 @@ int main()
     do {
         nb += 1;
         now.stamp();
-    } while ( ( now - start ) < 5000000 );
+    } while ( ( now - start ).toMicroSeconds() < 5000000 );
 
     cout << ( nb / 5 ) << " iterations per seconds. Press ENTER to quit." << endl;
     c = cin.get();