summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-17 20:23:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-17 20:23:45 +0100
commit2e5aac0627c438d2aa709430c56e1cb1f0eec78f (patch)
tree9c43e006bb9ccf781d0d9aa6dbc8f5508333d149 /src
parentfcbae12df58b12ec9444133609215212e99e7e84 (diff)
fix inconsistent value/reference init
Diffstat (limited to 'src')
-rw-r--r--src/nanosecond.hpp2
1 files changed, 1 insertions, 1 deletions
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