diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
commit | 2d63c9364af57c732003afc7adddeb8ce62a1988 (patch) | |
tree | 8b5ac531fdebe6e25c77b6fefc41b3d0bfec58a9 /src/op.h | |
parent | dcac3064670e6b4f4b8759d9adf54e8569ec4786 (diff) | |
download | fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.gz fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.bz2 fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.zip |
Changed many assert() calls to VERIFY()
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |