From 7be17fd779db1ee2a20064bdf3b4a8f5da3eb968 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Jun 2010 08:16:26 -0400 Subject: Corrections to the way error strings are generated --- src/error.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/error.cc') diff --git a/src/error.cc b/src/error.cc index cfc91ff1..4b3a7786 100644 --- a/src/error.cc +++ b/src/error.cc @@ -43,6 +43,7 @@ std::ostringstream _desc_buffer; string error_context() { string context = _ctxt_buffer.str(); + _ctxt_buffer.clear(); _ctxt_buffer.str(""); return context; } -- cgit v1.2.3