summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.hpp
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.hpp
parent0f182b791622ad4491c8aabf8edce21a63839bdc (diff)
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'spline/spline.hpp')
-rw-r--r--spline/spline.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline.hpp b/spline/spline.hpp
index 300af92d..6771a1cb 100644
--- a/spline/spline.hpp
+++ b/spline/spline.hpp
@@ -56,7 +56,7 @@ struct OTR_SPLINE_EXPORT base_spline_
virtual float get_value(double x) = 0;
virtual float get_value_no_save(double x) const = 0;
- warn_result_unused virtual bool get_last_value(QPointF& point) = 0;
+ cc_warn_unused_result virtual bool get_last_value(QPointF& point) = 0;
virtual void set_tracking_active(bool value) = 0;
virtual double max_input() const = 0;
@@ -133,7 +133,7 @@ public:
float get_value(double x) override;
float get_value_no_save(double x) const override;
- warn_result_unused bool get_last_value(QPointF& point) override;
+ cc_warn_unused_result bool get_last_value(QPointF& point) override;
void add_point(QPointF pt) override;
void add_point(double x, double y) override;