diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2009-09-26 07:30:18 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2009-09-26 07:30:18 +0000 |
| commit | 89636834a6d0c86a9f835db48768601cec047214 (patch) | |
| tree | b5d1c6caa30e03a81aaf98ae60ec6c6a5fb5c7cb /src/variant.cpp | |
| parent | e99509abde688315ac7a82d764b352e2e3312e61 (diff) | |
| download | libbu++-89636834a6d0c86a9f835db48768601cec047214.tar.gz libbu++-89636834a6d0c86a9f835db48768601cec047214.tar.bz2 libbu++-89636834a6d0c86a9f835db48768601cec047214.tar.xz libbu++-89636834a6d0c86a9f835db48768601cec047214.zip | |
Minor tweaks and fixes to Bu::Variant
Diffstat (limited to 'src/variant.cpp')
| -rw-r--r-- | src/variant.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/variant.cpp b/src/variant.cpp index 95eea88..62e74bc 100644 --- a/src/variant.cpp +++ b/src/variant.cpp | |||
| @@ -18,6 +18,15 @@ Bu::Variant::Variant() : | |||
| 18 | { | 18 | { |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | Bu::Variant::Variant( const Variant &v ) : | ||
| 22 | pCore( NULL ) | ||
| 23 | { | ||
| 24 | if( v.pCore ) | ||
| 25 | { | ||
| 26 | pCore = v.pCore->clone(); | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 21 | Bu::Variant::~Variant() | 30 | Bu::Variant::~Variant() |
| 22 | { | 31 | { |
| 23 | } | 32 | } |
