aboutsummaryrefslogtreecommitdiff
path: root/src/variant.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-06-21 15:12:50 +0000
committerMike Buland <eichlan@xagasoft.com>2010-06-21 15:12:50 +0000
commitc715b258e2d486ee4d95da7d495fd1567770fdf6 (patch)
treefaefc8713b16f763a2aee5652d8b3163b56a5688 /src/variant.h
parent6778ed99fe197a05bd109eab1ec047ddcba07ca4 (diff)
downloadlibbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.gz
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.bz2
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.xz
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.zip
Both Bu::Variant and Bu::MiniCron failed to cleanup behind themselves in some
cases. This has been fixed.
Diffstat (limited to '')
-rw-r--r--src/variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variant.h b/src/variant.h
index 292ce56..1eda584 100644
--- a/src/variant.h
+++ b/src/variant.h
@@ -109,7 +109,7 @@ namespace Bu
109 template<class t> 109 template<class t>
110 Variant &operator=( const t &rhs ) 110 Variant &operator=( const t &rhs )
111 { 111 {
112 if( pCore && pCore->getType() != typeid(t) ) 112 if( pCore ) // && pCore->getType() != typeid(t) )
113 { 113 {
114 delete pCore; 114 delete pCore;
115 pCore = NULL; 115 pCore = NULL;