summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-02 08:14:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-02 08:21:36 +0100
commit398894b546fb6588049e889678943c124a90ec24 (patch)
treeb5db21f64a01c5e6d27920052e022728e9678611 /spline/spline.cpp
parentb830658e3e1657de1ef8581a53b4298769c117ee (diff)
compat/macros: rename obnoxious macro
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 119723fd..d58d7c21 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -99,7 +99,7 @@ float spline::get_value_no_save_internal(double x)
return ret;
}
-DEFUN_WARN_UNUSED bool spline::get_last_value(QPointF& point)
+warn_result_unused bool spline::get_last_value(QPointF& point)
{
QMutexLocker foo(&_mutex);
point = last_input_value;