diff options
Diffstat (limited to 'src/variant.h')
-rw-r--r-- | src/variant.h | 2 |
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; |