summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-25 17:55:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-25 17:55:27 +0200
commit83867b413c449101bbe14615ff857a7785432ede (patch)
tree3b7a7fd68da8158a97fd67db9806fa6d984ebf80 /spline/spline.cpp
parent00cceaffca6063b963d0848480acaa99f5fecaad (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.cpp2
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;