From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- tracker-tobii-eyex/tobii-settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-tobii-eyex/tobii-settings.cpp') diff --git a/tracker-tobii-eyex/tobii-settings.cpp b/tracker-tobii-eyex/tobii-settings.cpp index c3129ec5..bc201be4 100644 --- a/tracker-tobii-eyex/tobii-settings.cpp +++ b/tracker-tobii-eyex/tobii-settings.cpp @@ -85,7 +85,7 @@ rel_settings::rel_settings() : } // there's an underflow in spline code, can't use 1e0 -static constexpr const double spline_max = 1e2; +constexpr double spline_max = 1e2; double rel_settings::gain(double value) { @@ -102,7 +102,7 @@ void rel_settings::make_spline_(part* functors, unsigned len) { part& fun = functors[k]; - static constexpr unsigned nparts = 7; + constexpr unsigned nparts = 7; for (unsigned i = 1; i <= nparts; i++) { -- cgit v1.2.3