From 2d63c9364af57c732003afc7adddeb8ce62a1988 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Mar 2009 04:29:10 -0400 Subject: Changed many assert() calls to VERIFY() --- src/op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op.h') 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(data)); - assert(val.valid()); + VERIFY(val.valid()); return val; } const value_t& as_value() const { return const_cast(this)->as_value_lval(); } void set_value(const value_t& val) { - assert(val.valid()); + VERIFY(val.valid()); data = val; } -- cgit v1.2.3