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/integer.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/integer.cpp') diff --git a/src/integer.cpp b/src/integer.cpp index 2a713e3..e89ac1d 100644 --- a/src/integer.cpp +++ b/src/integer.cpp @@ -16,6 +16,11 @@ Gats::Integer::~Integer() { } +Gats::Object *Gats::Integer::clone() const +{ + return new Gats::Integer( iVal ); +} + void Gats::Integer::write( Bu::Stream &rOut ) const { rOut.write("i", 1 ); -- cgit v1.2.3