From 4e083b4e0f33df50ed46ea30ff00b7232c29c632 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Dec 2020 11:05:49 +0100 Subject: C++: Remove meaningless const qualifiers --- sord/sordmm.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sord/sordmm.hpp') diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 4cfe372..2fa8a51 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -447,17 +447,17 @@ struct Iter : public Wrapper { next(); return *this; } - inline const Node get_subject() const { + inline Node get_subject() const { SordQuad quad; sord_iter_get(_c_obj, quad); return Node(_world, quad[SORD_SUBJECT]); } - inline const Node get_predicate() const { + inline Node get_predicate() const { SordQuad quad; sord_iter_get(_c_obj, quad); return Node(_world, quad[SORD_PREDICATE]); } - inline const Node get_object() const { + inline Node get_object() const { SordQuad quad; sord_iter_get(_c_obj, quad); return Node(_world, quad[SORD_OBJECT]); -- cgit v1.2.1