summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-19 15:14:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-19 15:14:22 -0400
commitf9607a57c19101b72bbd7ba4af9cc074fd374bad (patch)
treef89cb7a51aac0eb8e5e79fa889555eb60b03a6e4 /src/amount.h
parent8af4451472ad8c788e55b6f59e2964c6c33c50a0 (diff)
downloadfork-ledger-f9607a57c19101b72bbd7ba4af9cc074fd374bad.tar.gz
fork-ledger-f9607a57c19101b72bbd7ba4af9cc074fd374bad.tar.bz2
fork-ledger-f9607a57c19101b72bbd7ba4af9cc074fd374bad.zip
Removed an unnecessary assert
It prevented the amount string "$1.00 " from being parsed.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h1
1 files changed, 0 insertions, 1 deletions
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;
}