Fix error: missing space between '""' and suffix identifier.

GCC 4.8 complains about this.
This commit is contained in:
Roman Telezhynskyi 2022-09-12 17:14:56 +03:00
parent 3cfce3e640
commit 2426838496

View file

@ -109,7 +109,8 @@ auto
}
inline BPSTD_INLINE_VISIBILITY constexpr
auto bpstd::literals::chrono_literals::operator""_h(long double x) -> std::chrono::duration<double, std::ratio<3600,1>>
auto bpstd::literals::chrono_literals::operator "" _h(long double x)
-> std::chrono::duration<double, std::ratio<3600,1>>
{
return chrono::duration<double, std::ratio<3600,1>>{x};
}
@ -121,7 +122,8 @@ auto bpstd::literals::chrono_literals::operator""_min(unsigned long long x) -> b
}
inline BPSTD_INLINE_VISIBILITY constexpr
auto bpstd::literals::chrono_literals::operator""_min(long double x) -> bpstd::chrono::duration<double, std::ratio<60>>
auto bpstd::literals::chrono_literals::operator "" _min(long double x)
-> bpstd::chrono::duration<double, std::ratio<60>>
{
return chrono::duration<double, std::ratio<60>>{x};
}