summaryrefslogtreecommitdiff
path: root/src/variant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variant.cpp')
-rw-r--r--src/variant.cpp9
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
21Bu::Variant::Variant( const Variant &v ) :
22 pCore( NULL )
23{
24 if( v.pCore )
25 {
26 pCore = v.pCore->clone();
27 }
28}
29
21Bu::Variant::~Variant() 30Bu::Variant::~Variant()
22{ 31{
23} 32}