diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:14:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:21:36 +0100 |
commit | 398894b546fb6588049e889678943c124a90ec24 (patch) | |
tree | b5db21f64a01c5e6d27920052e022728e9678611 /spline | |
parent | b830658e3e1657de1ef8581a53b4298769c117ee (diff) |
compat/macros: rename obnoxious macro
Diffstat (limited to 'spline')
-rw-r--r-- | spline/spline.cpp | 2 | ||||
-rw-r--r-- | spline/spline.hpp | 2 |
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(); |