]> git.mxchange.org Git - simgear.git/blobdiff - simgear/timing/testtimestamp.cxx
Partial update support for HTTP repos.
[simgear.git] / simgear / timing / testtimestamp.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 88abc50..1c49d10
@@ -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();