Update Duration.h (#158)

Fix error when compiling in CentOS - 7  src/shared/Utilities/Duration.h:46:30: error: missing space between ‘""’ and suffix identifier
 constexpr std::chrono::hours operator""_days(unsigned long long days)
This commit is contained in:
manf0001 2021-07-30 14:53:31 -04:00 committed by GitHub
parent 8b37b0e40e
commit d9ede6489f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}