diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-04-06 06:16:33 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-06 06:16:33 +0000 |
| commit | fba73219e3c7bf65b459a3303f579fd83c8fd0af (patch) | |
| tree | 7de25030a1ef0e5899da243c2fb5c0e4900c0a49 /src/string.cpp | |
| parent | b01618b1be4831d30dbf8706a48e71c62d617b99 (diff) | |
| download | libgats-fba73219e3c7bf65b459a3303f579fd83c8fd0af.tar.gz libgats-fba73219e3c7bf65b459a3303f579fd83c8fd0af.tar.bz2 libgats-fba73219e3c7bf65b459a3303f579fd83c8fd0af.tar.xz libgats-fba73219e3c7bf65b459a3303f579fd83c8fd0af.zip | |
Everything supports clone now.
Diffstat (limited to 'src/string.cpp')
| -rw-r--r-- | src/string.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/string.cpp b/src/string.cpp index c4c156b..ddf3486 100644 --- a/src/string.cpp +++ b/src/string.cpp | |||
| @@ -37,6 +37,11 @@ Gats::String::~String() | |||
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | Gats::Object *Gats::String::clone() const | ||
| 41 | { | ||
| 42 | return new Gats::String( Bu::String::clone() ); | ||
| 43 | } | ||
| 44 | |||
| 40 | void Gats::String::write( Bu::Stream &rOut ) const | 45 | void Gats::String::write( Bu::Stream &rOut ) const |
| 41 | { | 46 | { |
| 42 | rOut.write("s", 1 ); | 47 | rOut.write("s", 1 ); |
