summaryrefslogtreecommitdiff
path: root/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'value.cc')
-rw-r--r--value.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/value.cc b/value.cc
index 83307dc0..7de21813 100644
--- a/value.cc
+++ b/value.cc
@@ -26,6 +26,7 @@ value_t& value_t::operator=(const value_t& value)
return *this;
destroy();
+
switch (value.type) {
case BOOLEAN:
*((bool *) data) = *((bool *) value.data);