summaryrefslogtreecommitdiff
path: root/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-20 02:14:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:28 -0400
commitb84f676946941df6f7e8476d77d1db0cbe7736c5 (patch)
tree9ee7c7a2d3b7496b38ad127519210adfeced2241 /times.cc
parent539370ff1b37772e9f11439f652ffd3583beeedb (diff)
downloadledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz
ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2
ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip
Did some optimization and memory cleanup
Diffstat (limited to 'times.cc')
-rw-r--r--times.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/times.cc b/times.cc
index cfc7ae1b..b5ff92ec 100644
--- a/times.cc
+++ b/times.cc
@@ -31,7 +31,7 @@ moment_t parse_datetime(std::istream& in)
#if 0
return parse_abs_datetime(in);
#else
- std::string word;
+ string word;
if (! in.good() || in.eof())
return moment_t();