diff options
Diffstat (limited to 'common/str.cpp')
-rw-r--r-- | common/str.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/str.cpp b/common/str.cpp index 475e5e242d..ea1240adf1 100644 --- a/common/str.cpp +++ b/common/str.cpp @@ -59,7 +59,7 @@ String::String(const ConstString &str) { } } -String::String(const String &str) { +String::String(const String &str) : ConstString() { ++(*str._refCount); _refCount = str._refCount; |