From c715b258e2d486ee4d95da7d495fd1567770fdf6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Jun 2010 15:12:50 +0000 Subject: Both Bu::Variant and Bu::MiniCron failed to cleanup behind themselves in some cases. This has been fixed. --- src/variant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/variant.h') 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 template Variant &operator=( const t &rhs ) { - if( pCore && pCore->getType() != typeid(t) ) + if( pCore ) // && pCore->getType() != typeid(t) ) { delete pCore; pCore = NULL; -- cgit v1.2.3