]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Haren SqStrign copy-constructor.
authoramosjeffries <>
Sun, 20 May 2007 10:22:06 +0000 (10:22 +0000)
committeramosjeffries <>
Sun, 20 May 2007 10:22:06 +0000 (10:22 +0000)
src/SqString.cc

index 8f0caf3eb2a822401443c3f2729649d734e42b03..eb0e6a5d4b9a36bbe3805cee579b52235d270539 100644 (file)
@@ -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);