summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/timer.cpp2
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;