diff --git a/src/shared/Utilities/Duration.h b/src/shared/Utilities/Duration.h index 3eab22ff..74b4dfd1 100644 --- a/src/shared/Utilities/Duration.h +++ b/src/shared/Utilities/Duration.h @@ -43,7 +43,7 @@ typedef std::chrono::hours Hours; typedef std::chrono::steady_clock::time_point TimePoint; typedef std::chrono::system_clock::time_point SystemTimePoint; -constexpr std::chrono::hours operator""_days(unsigned long long days) +constexpr std::chrono::hours operator "" _days(unsigned long long days) { return std::chrono::hours(days * Hours(24)); }