diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 13:21:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | 519b4a3ae10c96951db917f2439982c7d2391874 (patch) | |
tree | ec55d8a12fa740803e6da2074eec04f465e98ede /tracker-pt/pt-api.hpp | |
parent | 0f182b791622ad4491c8aabf8edce21a63839bdc (diff) |
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'tracker-pt/pt-api.hpp')
-rw-r--r-- | tracker-pt/pt-api.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-pt/pt-api.hpp b/tracker-pt/pt-api.hpp index 7ddddaf5..0ddfb4e1 100644 --- a/tracker-pt/pt-api.hpp +++ b/tracker-pt/pt-api.hpp @@ -69,11 +69,11 @@ struct pt_camera pt_camera(); virtual ~pt_camera(); - virtual warn_result_unused bool start(int idx, int fps, int res_x, int res_y) = 0; + virtual cc_warn_unused_result bool start(int idx, int fps, int res_x, int res_y) = 0; virtual void stop() = 0; - virtual warn_result_unused result get_frame(pt_frame& frame) = 0; + virtual cc_warn_unused_result result get_frame(pt_frame& frame) = 0; - virtual warn_result_unused result get_info() const = 0; + virtual cc_warn_unused_result result get_info() const = 0; virtual pt_camera_info get_desired() const = 0; virtual QString get_desired_name() const = 0; |