aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/lexer/token.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/lexer/token.cpp6
1 files changed, 3 insertions, 3 deletions
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<double>::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;
}