diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-04 20:57:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-05 03:22:53 +0200 |
commit | 34ebdd1ef3c7dd5883db899f2496882c5826ceea (patch) | |
tree | 0bc8283501f3f30f03977c2dc5874a916b2eeb1e | |
parent | 954f6a2c70ba0af3bd2bcdafee6109f95d2190db (diff) |
add comment
-rw-r--r-- | src/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.cpp b/src/timer.cpp index 57442018..c03c61d6 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -18,7 +18,7 @@ using Millis = duration<unsigned, std::milli>; namespace { -template<typename T> struct array_size_; +template<typename T> struct array_size_; // todo! move to compat, replace usages of arraySize & std::size_t template<typename T, size_t N> struct array_size_<T(&)[N]> : std::integral_constant<size_t, N> {}; template<typename T, size_t N> struct array_size_<std::array<T, N>> : std::integral_constant<size_t, N> {}; template<typename T> constexpr inline auto array_size = array_size_<T>::value; |