diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-23 04:42:44 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:30 -0400 |
commit | 6853db57e6fdb6fd95764be1f35af0006c9e2ef9 (patch) | |
tree | bf24550cbc6053c51bf2f3fdcf27f39a4c989f24 /times.h | |
parent | be9f18ccfe81acdd2f34b27352f2843235fab69b (diff) | |
download | fork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.tar.gz fork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.tar.bz2 fork-ledger-6853db57e6fdb6fd95764be1f35af0006c9e2ef9.zip |
All tests now working again. Reduced size of entity_t and
transaction_t considerably.
Diffstat (limited to 'times.h')
-rw-r--r-- | times.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -83,11 +83,10 @@ inline moment_t ptime_from_local_time_string(const string& time_string) { } #endif -moment_t parse_datetime(std::istream& in); +moment_t parse_datetime(const char * str); inline moment_t parse_datetime(const string& str) { - std::istringstream instr(str); - return parse_datetime(instr); + return parse_datetime(str.c_str()); } extern ptime time_now; |