summaryrefslogtreecommitdiff
path: root/lib/maths.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/maths.h')
-rw-r--r--lib/maths.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/maths.h b/lib/maths.h
index 0afce98..43d6dcd 100644
--- a/lib/maths.h
+++ b/lib/maths.h
@@ -504,11 +504,11 @@ kph_to_ms(T v)
}
// ... literals are handy for now, probably go away when we load stuff externally
-float operator"" _mph(const long double v);
-float operator"" _kph(const long double v);
+float operator""_mph(const long double v);
+float operator""_kph(const long double v);
constexpr float
-operator"" _degrees(long double degrees)
+operator""_degrees(long double degrees)
{
return static_cast<float>(degrees) * degreesToRads;
}