]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Tweak refcount to be more MSVC compatible.
authorrobertc <>
Sun, 13 Jul 2003 05:44:27 +0000 (05:44 +0000)
committerrobertc <>
Sun, 13 Jul 2003 05:44:27 +0000 (05:44 +0000)
Keywords:

Guido supplied a tweak to RefCount.h to be MSVC compatible.

include/RefCount.h

index 03dec83c30d410b97c753117757c9d2c759cb08e..9c63b243e4af48049062fb686aa5b796d94c155e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: RefCount.h,v 1.6 2003/06/23 11:14:52 robertc Exp $
+ * $Id: RefCount.h,v 1.7 2003/07/12 23:44:27 robertc Exp $
  *
  * DEBUG: section xx    Refcount allocator
  * AUTHOR:  Robert Collins
@@ -95,7 +95,7 @@ private:
         * we may be freed ourselves as a result of
         * p_->deleteSelf();
         */
-        C const *tempP_ (p_);
+        C const (*tempP_) (p_);
        p_ = newP;
         if (tempP_ && tempP_->RefCountDereference() == 0)
             tempP_->deleteSelf();