diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-10 23:00:36 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-10 23:00:36 -0500 |
commit | 20f4ccde96de05cdbd330e6bbb94af363bef486a (patch) | |
tree | 72b3492edc8d5c5ad52a6d36e02e5edf9bc08c68 /src/value.h | |
parent | 21a123e525927b1785078f6630e2a52d410f11c8 (diff) | |
download | fork-ledger-20f4ccde96de05cdbd330e6bbb94af363bef486a.tar.gz fork-ledger-20f4ccde96de05cdbd330e6bbb94af363bef486a.tar.bz2 fork-ledger-20f4ccde96de05cdbd330e6bbb94af363bef486a.zip |
Added some debug code
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h index 6fe24da6..1176ad09 100644 --- a/src/value.h +++ b/src/value.h @@ -901,16 +901,20 @@ public: } sequence_t::iterator begin() { + VERIFY(is_sequence()); return as_sequence_lval().begin(); } sequence_t::iterator end() { + VERIFY(is_sequence()); return as_sequence_lval().end(); } sequence_t::const_iterator begin() const { + VERIFY(is_sequence()); return as_sequence().begin(); } sequence_t::const_iterator end() const { + VERIFY(is_sequence()); return as_sequence().end(); } |