From f9607a57c19101b72bbd7ba4af9cc074fd374bad Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 19 Feb 2009 15:14:22 -0400 Subject: [PATCH] Removed an unnecessary assert It prevented the amount string "$1.00 " from being parsed. --- src/amount.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amount.h b/src/amount.h index f0d0e92c..a20b46b1 100644 --- a/src/amount.h +++ b/src/amount.h @@ -613,7 +613,6 @@ public: const parse_flags_t& flags = PARSE_DEFAULT) { std::istringstream stream(str); bool result = parse(stream, flags); - assert(stream.eof()); return result; }