From 2208ac1226bb3be82be550d465f08fc1dd7c1bae Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 22:39:41 -0500 Subject: Fixes for compilation as C++0x code --- src/annotate.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/annotate.cc') 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); -- cgit v1.2.3