Add no-deprecated to warnings due to dynamic exceptions.
[anna.git] / include / anna / core / functions.hpp
index 6b4a4e2..3c37227 100644 (file)
@@ -411,7 +411,7 @@ struct functions {
       // Note that CLOCK_MONOTONIC is subject to discontinuities from system time
       //  adjustment in Linux. CLOCK_MONOTONIC_RAW was defined to get around this
       //  (gets hardware time not adjusted by NTP).
-    clock_gettime(CLOCK_MONOTONIC_RAW, &ts); // works
+    clock_gettime(CLOCK_MONOTONIC, &ts); // works
 
     Microsecond result((Microsecond::type_t)1000000 * ts.tv_sec + ts.tv_nsec / 1000);
     return result;