From: amosjeffries <> Date: Sun, 20 May 2007 10:22:06 +0000 (+0000) Subject: Haren SqStrign copy-constructor. X-Git-Tag: SQUID_3_0_PRE7~252 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7f6209d61c9bd5d5f5734f57a77ef337de67c1d;p=thirdparty%2Fsquid.git Haren SqStrign copy-constructor. --- diff --git a/src/SqString.cc b/src/SqString.cc index 8f0caf3eb2..eb0e6a5d4b 100644 --- a/src/SqString.cc +++ b/src/SqString.cc @@ -1,6 +1,6 @@ /* - * $Id: SqString.cc,v 1.4 2007/05/19 14:51:14 amosjeffries Exp $ + * $Id: SqString.cc,v 1.5 2007/05/20 04:22:06 amosjeffries Exp $ * * DEBUG: section 67 String * AUTHOR: Duane Wessels @@ -168,7 +168,7 @@ SqString::SqString (SqString const &old) { memset(this, 0, sizeof(SqString)); - init (old.c_str()); + operator=(old); #if DEBUGSTRINGS SqStringRegistry::Instance().add(this);