]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved "meaningless" const to make ICC compiler happier.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 14 Sep 2011 16:31:00 +0000 (10:31 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 14 Sep 2011 16:31:00 +0000 (10:31 -0600)
TODO: The Ipc::Mem::Pointer API looks inconsistent w.r.t. const use.

src/ipc/mem/Pointer.h

index 324d38adb7b17e97e8ec701c130ca5a58cf534c1..8cb43b6e58f9346d5a51fc23b6294ccb729b2f90 100644 (file)
@@ -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; }
 };