[libcxx-commits] [libcxx] [libc++][test] Small fixes for time tests (PR #132532)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 22 05:31:08 PDT 2025
================
@@ -36,11 +36,11 @@
#include "test_macros.h"
// class gps_clock
-using rep = std::chrono::gps_clock::rep;
-using period = std::chrono::gps_clock::period;
-using duration = std::chrono::gps_clock::duration;
-using time_point = std::chrono::gps_clock::time_point;
-constexpr bool is_steady = std::chrono::gps_clock::is_steady;
+using rep = std::chrono::gps_clock::rep;
+using period = std::chrono::gps_clock::period;
+using duration = std::chrono::gps_clock::duration;
+using time_point = std::chrono::gps_clock::time_point;
+[[maybe_unused]] constexpr bool is_steady = std::chrono::gps_clock::is_steady;
----------------
mordante wrote:
I agree it's cleaner, but there are indeed more clocks affected. I've created #132546 to look into this.
https://github.com/llvm/llvm-project/pull/132532
More information about the libcxx-commits
mailing list