From fba73219e3c7bf65b459a3303f579fd83c8fd0af Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 6 Apr 2012 06:16:33 +0000 Subject: Everything supports clone now. --- src/string.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/string.cpp') 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() { } +Gats::Object *Gats::String::clone() const +{ + return new Gats::String( Bu::String::clone() ); +} + void Gats::String::write( Bu::Stream &rOut ) const { rOut.write("s", 1 ); -- cgit v1.2.3