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/boolean.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/boolean.cpp')
-rw-r--r-- | src/boolean.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/boolean.cpp b/src/boolean.cpp index e0600f2..729e644 100644 --- a/src/boolean.cpp +++ b/src/boolean.cpp | |||
@@ -17,6 +17,11 @@ Gats::Boolean::~Boolean() | |||
17 | { | 17 | { |
18 | } | 18 | } |
19 | 19 | ||
20 | Gats::Object *Gats::Boolean::clone() const | ||
21 | { | ||
22 | return new Gats::Boolean( bVal ); | ||
23 | } | ||
24 | |||
20 | void Gats::Boolean::write( Bu::Stream &rOut ) const | 25 | void Gats::Boolean::write( Bu::Stream &rOut ) const |
21 | { | 26 | { |
22 | if( bVal ) | 27 | if( bVal ) |