aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-20 18:16:38 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-20 18:16:38 +0000
commit7292af7c475c61920987ec498144a3fd1e90f1e8 (patch)
tree4bc09eea26fb13915395642311f0617f1c0bff4e /src/string.cpp
parent4a6e25854a3b70c8d7a526a22a78760b97118669 (diff)
downloadlibgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.gz
libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.bz2
libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.xz
libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.zip
Updated with new Bu::String.
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp14
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
11Gats::String::String( const char *s ) : 11Gats::String::String( const char *s ) :
12 Bu::FString( s ) 12 Bu::String( s )
13{ 13{
14} 14}
15 15
16Gats::String::String( const char *s, long iLength ) : 16Gats::String::String( const char *s, long iLength ) :
17 Bu::FString( s, iLength ) 17 Bu::String( s, iLength )
18{ 18{
19} 19}
20 20
21Gats::String::String( long iLength ) : 21Gats::String::String( long iLength ) :
22 Bu::FString( iLength ) 22 Bu::String( iLength )
23{ 23{
24} 24}
25 25
26Gats::String::String( const String &s ) : 26Gats::String::String( const String &s ) :
27 Bu::FString( s ) 27 Bu::String( s )
28{ 28{
29} 29}
30 30
31Gats::String::String( const Bu::FString &s ) : 31Gats::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
56Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ) 56Bu::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