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/float.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/float.cpp') diff --git a/src/float.cpp b/src/float.cpp index 1b4ebae..c01d824 100644 --- a/src/float.cpp +++ b/src/float.cpp @@ -20,6 +20,11 @@ Gats::Float::~Float() { } +Gats::Object *Gats::Float::clone() const +{ + return new Gats::Float( fVal ); +} + void Gats::Float::write( Bu::Stream &rOut ) const { if( fVal == 0.0 ) -- cgit v1.2.3