summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op.h b/src/op.h
index 2960c297..1f9af185 100644
--- a/src/op.h
+++ b/src/op.h
@@ -148,14 +148,14 @@ public:
value_t& as_value_lval() {
assert(is_value());
value_t& val(boost::get<value_t>(data));
- assert(val.valid());
+ VERIFY(val.valid());
return val;
}
const value_t& as_value() const {
return const_cast<op_t *>(this)->as_value_lval();
}
void set_value(const value_t& val) {
- assert(val.valid());
+ VERIFY(val.valid());
data = val;
}