diff options
Diffstat (limited to 'src/string.cpp')
| -rw-r--r-- | src/string.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/string.cpp b/src/string.cpp index 2134a01..c4c156b 100644 --- a/src/string.cpp +++ b/src/string.cpp | |||
| @@ -9,27 +9,27 @@ Gats::String::String() | |||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | Gats::String::String( const char *s ) : | 11 | Gats::String::String( const char *s ) : |
| 12 | Bu::FString( s ) | 12 | Bu::String( s ) |
| 13 | { | 13 | { |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | Gats::String::String( const char *s, long iLength ) : | 16 | Gats::String::String( const char *s, long iLength ) : |
| 17 | Bu::FString( s, iLength ) | 17 | Bu::String( s, iLength ) |
| 18 | { | 18 | { |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | Gats::String::String( long iLength ) : | 21 | Gats::String::String( long iLength ) : |
| 22 | Bu::FString( iLength ) | 22 | Bu::String( iLength ) |
| 23 | { | 23 | { |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | Gats::String::String( const String &s ) : | 26 | Gats::String::String( const String &s ) : |
| 27 | Bu::FString( s ) | 27 | Bu::String( s ) |
| 28 | { | 28 | { |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | Gats::String::String( const Bu::FString &s ) : | 31 | Gats::String::String( const Bu::String &s ) : |
| 32 | Bu::FString( s ) | 32 | Bu::String( s ) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| @@ -55,6 +55,6 @@ void Gats::String::read( Bu::Stream &rIn, char cType ) | |||
| 55 | 55 | ||
| 56 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ) | 56 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ) |
| 57 | { | 57 | { |
| 58 | return f << "(str) \"" << dynamic_cast<const Bu::FString &>(s) << "\""; | 58 | return f << "(str) \"" << dynamic_cast<const Bu::String &>(s) << "\""; |
| 59 | } | 59 | } |
| 60 | 60 | ||
