From: robertc <> Date: Sun, 13 Jul 2003 05:44:27 +0000 (+0000) Subject: Summary: Tweak refcount to be more MSVC compatible. X-Git-Tag: SQUID_3_0_PRE1~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=faffe22ca434f434824ea2f977f8599b8e59b262;p=thirdparty%2Fsquid.git Summary: Tweak refcount to be more MSVC compatible. Keywords: Guido supplied a tweak to RefCount.h to be MSVC compatible. --- diff --git a/include/RefCount.h b/include/RefCount.h index 03dec83c30..9c63b243e4 100644 --- a/include/RefCount.h +++ b/include/RefCount.h @@ -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();