From cd43a242ef5ede3f2ecfddb165b9ef669577ce79 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Wed, 14 Sep 2011 10:31:00 -0600 Subject: [PATCH] Moved "meaningless" const to make ICC compiler happier. TODO: The Ipc::Mem::Pointer API looks inconsistent w.r.t. const use. --- src/ipc/mem/Pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/mem/Pointer.h b/src/ipc/mem/Pointer.h index 324d38adb7..8cb43b6e58 100644 --- a/src/ipc/mem/Pointer.h +++ b/src/ipc/mem/Pointer.h @@ -80,7 +80,7 @@ public: Class *operator ->() const { return Base::operator ->()->theObject; } Class &operator *() const { return *Base::operator *().theObject; } - Class *const getRaw() const { return Base::getRaw()->theObject; } + const Class *getRaw() const { return Base::getRaw()->theObject; } Class *getRaw() { return Base::getRaw()->theObject; } }; -- 2.47.3