--- parser3/src/include/pa_string.h 2003/01/24 11:33:02 1.144.2.5 +++ parser3/src/include/pa_string.h 2003/01/24 14:36:10 1.144.2.6 @@ -8,7 +8,7 @@ #ifndef PA_STRING_H #define PA_STRING_H -static const char* IDENT_STRING_H="$Date: 2003/01/24 11:33:02 $"; +static const char* IDENT_STRING_H="$Date: 2003/01/24 14:36:10 $"; #include "pa_pool.h" #include "pa_types.h" @@ -118,7 +118,7 @@ public: static const ConstStringPtr undefined_origin; //static String& OnPool(Pool& apool, const char *local_src=0, size_t src_size=0, bool tainted=false); - String(const char *src=0, size_t src_size=0, bool tainted=false); + explicit String(const char *src=0, size_t src_size=0, bool tainted=false); String(const String& src); bool is_empty() const { return !size(); } size_t size() const { return fsize; }