diff --git a/libvapours/include/vapours/timespan.hpp b/libvapours/include/vapours/timespan.hpp index 3219bf23..7f469539 100644 --- a/libvapours/include/vapours/timespan.hpp +++ b/libvapours/include/vapours/timespan.hpp @@ -17,6 +17,7 @@ #pragma once #include #include +#include #include namespace ams { @@ -54,6 +55,7 @@ namespace ams { constexpr ALWAYS_INLINE friend TimeSpanType operator+(const TimeSpanType &lhs, const TimeSpanType &rhs) { TimeSpanType r(lhs); return r += rhs; } constexpr ALWAYS_INLINE friend TimeSpanType operator-(const TimeSpanType &lhs, const TimeSpanType &rhs) { TimeSpanType r(lhs); return r -= rhs; } }; + static_assert(util::is_pod::value); class TimeSpan { private: