diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 17:55:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 17:55:27 +0200 |
commit | 83867b413c449101bbe14615ff857a7785432ede (patch) | |
tree | 3b7a7fd68da8158a97fd67db9806fa6d984ebf80 /spline/spline.cpp | |
parent | 00cceaffca6063b963d0848480acaa99f5fecaad (diff) |
cleanup only
- replace warn_unused_result with [[nodiscard]]
- remove some redundant w_a_r
- replace std::decay with remove_cvref_t
- simplify compat/math.hpp
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r-- | spline/spline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index ae32b896..203822e7 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -100,7 +100,7 @@ float spline::get_value_no_save_internal(double x) return ret; } -cc_warn_unused_result bool spline::get_last_value(QPointF& point) +bool spline::get_last_value(QPointF& point) { QMutexLocker foo(&_mutex); point = last_input_value; |