]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish: remove unnecessary 'this->' usage in LockingPointer
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 30 Jun 2016 18:10:33 +0000 (06:10 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 30 Jun 2016 18:10:33 +0000 (06:10 +1200)
src/security/LockingPointer.h

index baaa32d345e3be3823c0ba1235144fd129293bed..a28bfb6fe2863b551e910e1585b757187873a4cd 100644 (file)
@@ -88,8 +88,8 @@ public:
     }
 
     void resetAndLock(T *t) {
-        if (t != this->get()) {
-            this->reset(t);
+        if (t != get()) {
+            reset(t);
 #if USE_OPENSSL
             if (t)
                 CRYPTO_add(&t->references, 1, lock);