From 2e5aac0627c438d2aa709430c56e1cb1f0eec78f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 17 Mar 2024 20:23:45 +0100 Subject: fix inconsistent value/reference init --- src/nanosecond.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nanosecond.hpp b/src/nanosecond.hpp index cd5f1eec..131f758b 100644 --- a/src/nanosecond.hpp +++ b/src/nanosecond.hpp @@ -38,6 +38,6 @@ struct Ns }; constexpr inline Ns Minute{60000000000}, Second{1000000000}, Millisecond{1000000}, Microsecond{1000}; -constexpr inline const Ns& Minutes{Minute}, Seconds{Second}, Milliseconds{Millisecond}, Microseconds{Microsecond}; +constexpr inline Ns Minutes{Minute}, Seconds{Second}, Milliseconds{Millisecond}, Microseconds{Microsecond}; } // namespace floormat -- cgit v1.2.3