From: Alex Rousskov Date: Wed, 14 Sep 2011 16:31:00 +0000 (-0600) Subject: Moved "meaningless" const to make ICC compiler happier. X-Git-Tag: BumpSslServerFirst.take01~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd43a242ef5ede3f2ecfddb165b9ef669577ce79;p=thirdparty%2Fsquid.git Moved "meaningless" const to make ICC compiler happier. TODO: The Ipc::Mem::Pointer API looks inconsistent w.r.t. const use. --- 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; } };