From 6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Dec 2018 03:02:57 +0100 Subject: clang-tidy fixes only Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. --- spline/spline.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'spline/spline.hpp') diff --git a/spline/spline.hpp b/spline/spline.hpp index 87489076..e79dd8cc 100644 --- a/spline/spline.hpp +++ b/spline/spline.hpp @@ -109,8 +109,6 @@ class OTR_SPLINE_EXPORT spline : public base_spline QMetaObject::Connection conn_changed, conn_maxx, conn_maxy; mutable std::vector data = std::vector(value_count, float(-16)); mutable QPointF last_input_value; - mutable bool activep = false; - mutable bool validp = false; std::shared_ptr ctx { std::make_shared() }; @@ -119,6 +117,9 @@ class OTR_SPLINE_EXPORT spline : public base_spline static constexpr inline std::size_t value_count = 4096; + mutable bool activep = false; + mutable bool validp = false; + public: void invalidate_settings(); -- cgit v1.2.3