summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-22 13:21:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:01:53 +0200
commit519b4a3ae10c96951db917f2439982c7d2391874 (patch)
treeec55d8a12fa740803e6da2074eec04f465e98ede /spline/spline.cpp
parent0f182b791622ad4491c8aabf8edce21a63839bdc (diff)
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
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 ad2ea6b3..cb2d5deb 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -96,7 +96,7 @@ float spline::get_value_no_save_internal(double x)
return ret;
}
-warn_result_unused bool spline::get_last_value(QPointF& point)
+cc_warn_unused_result bool spline::get_last_value(QPointF& point)
{
QMutexLocker foo(&_mutex);
point = last_input_value;