summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
Diffstat (limited to 'spline')
-rw-r--r--spline/spline.cpp2
-rw-r--r--spline/spline.hpp2
2 files changed, 2 insertions, 2 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;
diff --git a/spline/spline.hpp b/spline/spline.hpp
index 54c53767..47266165 100644
--- a/spline/spline.hpp
+++ b/spline/spline.hpp
@@ -92,7 +92,7 @@ public:
float get_value(double x);
float get_value_no_save(double x) const;
- DEFUN_WARN_UNUSED bool get_last_value(QPointF& point);
+ warn_result_unused bool get_last_value(QPointF& point);
void remove_point(int i);
void clear();