]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ICC compatibility: remove const on Comm::Connection::getPeer()
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Jun 2011 05:26:09 +0000 (17:26 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Jun 2011 05:26:09 +0000 (17:26 +1200)
src/comm/Connection.cc
src/comm/Connection.h
src/comm/stub_libcomm.cc

index 51b171126776bc59b5da03336e64224e7cd3bc82..628d054d7d374768a729da6c3cf78785ef2cc1d3 100644 (file)
@@ -68,7 +68,7 @@ Comm::Connection::close()
     }
 }
 
-peer * const
+peer *
 Comm::Connection::getPeer() const
 {
     if (cbdataReferenceValid(_peer))
index 3b7e4e66144887de539431463641f22082dc6086..a387b4c7237830e8f32ef5c19ead5eefd871cca1 100644 (file)
@@ -112,7 +112,7 @@ public:
      * The caller is responsible for all CBDATA operations regarding the
      * used of the pointer returned.
      */
-    peer * const getPeer() const;
+    peer * getPeer() const;
 
     /** alter the stored peer pointer.
      * Perform appropriate CBDATA operations for locking the peer pointer
index 16a80a30dbda3c5979d257da644d8f34a032ae18..3a85d9267101c9db85a35db55fae8cd16d227a68 100644 (file)
@@ -17,7 +17,7 @@ Comm::Connection::Connection() STUB
 Comm::Connection::~Connection() STUB
 Comm::ConnectionPointer Comm::Connection::copyDetails() const STUB_RETVAL(NULL)
 void Comm::Connection::close() STUB
-peer * const Comm::Connection::getPeer() const STUB_RETVAL(NULL)
+peer * Comm::Connection::getPeer() const STUB_RETVAL(NULL)
 void Comm::Connection::setPeer(peer * p) STUB
 
 #include "comm/ConnOpener.h"