aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-09-24 12:49:17 +0000
committerMike Buland <eichlan@xagasoft.com>2008-09-24 12:49:17 +0000
commitdea750e9470f1be61f8afd3eb0ee45a57ed4976a (patch)
tree3398055d64799f2136b2c30ca76cb7d93ccc6316
parent6119b465b19e9be095971a33c63b0fa9a0e8a224 (diff)
downloadlibbu++-dea750e9470f1be61f8afd3eb0ee45a57ed4976a.tar.gz
libbu++-dea750e9470f1be61f8afd3eb0ee45a57ed4976a.tar.bz2
libbu++-dea750e9470f1be61f8afd3eb0ee45a57ed4976a.tar.xz
libbu++-dea750e9470f1be61f8afd3eb0ee45a57ed4976a.zip
Minor tweak, the newer version of the compiler had a couple of extra really good
warnings. Of course, it said that a class with a copy constructor that also has one or more base classes should explicitly initialize the base classes in the copy constructor so nothing too suprising happens to you. I agree with this.
-rw-r--r--src/fstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index 620b312..bc23e57 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -86,6 +86,7 @@ namespace Bu
86 } 86 }
87 87
88 FBasicString( const MyType &rSrc ) : 88 FBasicString( const MyType &rSrc ) :
89 Archival(),
89 nLength( 0 ), 90 nLength( 0 ),
90 pFirst( NULL ), 91 pFirst( NULL ),
91 pLast( NULL ) 92 pLast( NULL )