diff options
Diffstat (limited to '')
-rw-r--r-- | src/stable/string.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/stable/string.h b/src/stable/string.h index 1fc5496..b174031 100644 --- a/src/stable/string.h +++ b/src/stable/string.h | |||
@@ -58,12 +58,8 @@ namespace Bu | |||
58 | 58 | ||
59 | /** | 59 | /** |
60 | */ | 60 | */ |
61 | class String : public SharedCore<String, StringCore> | 61 | class String |
62 | { | 62 | { |
63 | protected: | ||
64 | using SharedCore<String, StringCore >::core; | ||
65 | using SharedCore<String, StringCore >::_hardCopy; | ||
66 | |||
67 | private: | 63 | private: |
68 | typedef StringCore::Chunk Chunk; | 64 | typedef StringCore::Chunk Chunk; |
69 | 65 | ||
@@ -696,6 +692,9 @@ namespace Bu | |||
696 | */ | 692 | */ |
697 | void clear(); | 693 | void clear(); |
698 | 694 | ||
695 | const String &clone() const; | ||
696 | void unshare(); | ||
697 | |||
699 | String replace( const String &fnd, const String &rep ) const; | 698 | String replace( const String &fnd, const String &rep ) const; |
700 | 699 | ||
701 | /** | 700 | /** |
@@ -1054,6 +1053,9 @@ namespace Bu | |||
1054 | { | 1053 | { |
1055 | return FormatProxy( *this, pEndAction ); | 1054 | return FormatProxy( *this, pEndAction ); |
1056 | } | 1055 | } |
1056 | |||
1057 | protected: | ||
1058 | StringCore *core; | ||
1057 | }; | 1059 | }; |
1058 | 1060 | ||
1059 | template<class T> String operator+( const T *pLeft, const String &rRight ) | 1061 | template<class T> String operator+( const T *pLeft, const String &rRight ) |