summaryrefslogtreecommitdiffhomepage
path: root/proto-fsuipc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:21:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:41:23 +0100
commit33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch)
tree7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /proto-fsuipc
parent29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff)
static constexpr -> constexpr
Diffstat (limited to 'proto-fsuipc')
-rw-r--r--proto-fsuipc/ftnoir_protocol_fsuipc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp
index 11d954ab..959408fe 100644
--- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp
+++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp
@@ -51,7 +51,7 @@ int fsuipc::scale2AnalogLimits(t x, t min_x, t max_x)
template<typename t>
static inline bool check_float_fresh(t x, t y)
{
- static constexpr t eps = t(1e-4);
+ constexpr t eps = t(1e-4);
return std::fabs(x - y) >= eps;
}