Use ptr-to-const in Futex
[folly.git] / folly / test / DeterministicSchedule.cpp
index e1c79d7e5acef986e6c72f9e8c2e04f4dd1d04cc..d4e8d2da7f63d149cdea059f2d3d579a8fed4293 100644 (file)
@@ -289,8 +289,8 @@ using namespace std::chrono;
 template <>
 FutexResult Futex<DeterministicAtomic>::futexWaitImpl(
     uint32_t expected,
-    time_point<system_clock>* absSystemTimeout,
-    time_point<steady_clock>* absSteadyTimeout,
+    system_clock::time_point const* absSystemTimeout,
+    steady_clock::time_point const* absSteadyTimeout,
     uint32_t waitMask) {
   bool hasTimeout = absSystemTimeout != nullptr || absSteadyTimeout != nullptr;
   bool awoken = false;