diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-03 06:10:32 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:36 -0400 |
commit | f9f24fab933266ab8e12da7eef4cc2a906f77350 (patch) | |
tree | 4d4ef97c450a2679bc70726b3758b3c0c234def9 /src/textual.cc | |
parent | f0508a9f86be63fc4f98e9943ce2f226339e6309 (diff) | |
download | fork-ledger-f9f24fab933266ab8e12da7eef4cc2a906f77350.tar.gz fork-ledger-f9f24fab933266ab8e12da7eef4cc2a906f77350.tar.bz2 fork-ledger-f9f24fab933266ab8e12da7eef4cc2a906f77350.zip |
Added code to use boost::lexical_cast<>.
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc index 0a4c7333..5fe13e6d 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -774,7 +774,7 @@ unsigned int textual_parser_t::parse(std::istream& in, case 'Y': // set current year #if 0 // jww (2007-04-18): Need to set this up again - date_t::current_year = std::atoi(skip_ws(line + 1)); + date_t::current_year = lexical_cast<int>(skip_ws(line + 1)); #endif break; |