diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-04 22:39:41 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-04 22:39:41 -0500 |
commit | 2208ac1226bb3be82be550d465f08fc1dd7c1bae (patch) | |
tree | 35ac78b7e439263c24a14c1fe214fd5db61745f9 /src/annotate.cc | |
parent | e0c42ff44352b414e8a6ea3ba735afea98db6d18 (diff) | |
download | fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.gz fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.bz2 fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.zip |
Fixes for compilation as C++0x code
Diffstat (limited to 'src/annotate.cc')
-rw-r--r-- | src/annotate.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/annotate.cc b/src/annotate.cc index 33c0aebb..352690c6 100644 --- a/src/annotate.cc +++ b/src/annotate.cc @@ -42,6 +42,7 @@ void annotation_t::parse(std::istream& in) { do { istream_pos_type pos = in.tellg(); + assert(pos != -1); char buf[256]; char c = peek_next_nonws(in); |