From 960c2252136b3a54d34317b77921788110784dae Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 14 Jan 2020 20:01:50 +0300 Subject: remove unnecessary static-s --- server/lexer/token.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/lexer/token.cpp b/server/lexer/token.cpp index 9bcd9f3..5516bde 100644 --- a/server/lexer/token.cpp +++ b/server/lexer/token.cpp @@ -15,15 +15,15 @@ namespace math::server::lexer { namespace { -static constexpr double nan() { +constexpr double nan() { return std::numeric_limits::quiet_NaN(); } -static bool is_nan(double x) { +bool is_nan(double x) { return std::isnan(x); } -static bool numbers_equal(double x, double y) { +bool numbers_equal(double x, double y) { if (is_nan(x) && is_nan(y)) { return true; } -- cgit v1.2.3