aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-14 20:01:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-14 20:01:50 +0300
commit960c2252136b3a54d34317b77921788110784dae (patch)
tree0cd80ac43e0495d98aadb5eb707641a40cc7f8c9 /server
parentformatting fixes (diff)
downloadmath-server-960c2252136b3a54d34317b77921788110784dae.tar.gz
math-server-960c2252136b3a54d34317b77921788110784dae.zip
remove unnecessary static-s
Diffstat (limited to 'server')
-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;
}