summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-01 00:54:51 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-07-01 00:54:51 -0700
commit578c14ab575eb57bb8c0edd9ff2b1140bc670276 (patch)
treeb485e2ebe7675b61c627e85d92b71e12f9984354
parent0a768e842faf9a69f576fc9ac92bfa1dd2533d5f (diff)
downloadtmwa-578c14ab575eb57bb8c0edd9ff2b1140bc670276.tar.gz
tmwa-578c14ab575eb57bb8c0edd9ff2b1140bc670276.tar.bz2
tmwa-578c14ab575eb57bb8c0edd9ff2b1140bc670276.tar.xz
tmwa-578c14ab575eb57bb8c0edd9ff2b1140bc670276.zip
Stupid lenient newer compiler
-rw-r--r--src/net/timer.t.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/timer.t.hpp b/src/net/timer.t.hpp
index c27389e..090e62a 100644
--- a/src/net/timer.t.hpp
+++ b/src/net/timer.t.hpp
@@ -35,25 +35,25 @@
namespace tmwa
{
constexpr
-std::chrono::nanoseconds operator ""_ns(unsigned long long ns)
+std::chrono::nanoseconds operator "" _ns(unsigned long long ns)
{ return std::chrono::nanoseconds(ns); }
constexpr
-std::chrono::microseconds operator ""_us(unsigned long long us)
+std::chrono::microseconds operator "" _us(unsigned long long us)
{ return std::chrono::microseconds(us); }
constexpr
-std::chrono::milliseconds operator ""_ms(unsigned long long ms)
+std::chrono::milliseconds operator "" _ms(unsigned long long ms)
{ return std::chrono::milliseconds(ms); }
constexpr
-std::chrono::seconds operator ""_s(unsigned long long s)
+std::chrono::seconds operator "" _s(unsigned long long s)
{ return std::chrono::seconds(s); }
constexpr
-std::chrono::minutes operator ""_min(unsigned long long min)
+std::chrono::minutes operator "" _min(unsigned long long min)
{ return std::chrono::minutes(min); }
constexpr
-std::chrono::hours operator ""_h(unsigned long long h)
+std::chrono::hours operator "" _h(unsigned long long h)
{ return std::chrono::hours(h); }
constexpr
-std::chrono::duration<int, std::ratio<60*60*24>> operator ""_d(unsigned long long d)
+std::chrono::duration<int, std::ratio<60*60*24>> operator "" _d(unsigned long long d)
{ return std::chrono::duration<int, std::ratio<60*60*24>>(d); }
/// An implementation of the C++ "clock" concept, exposing