summaryrefslogtreecommitdiff
path: root/csv.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-05-08 02:19:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-08 02:50:19 -0400
commitd159501993cfd0215f94f0e5e16796558417b681 (patch)
treeb0e2b9e9e707dd3f71683e81b9c9c3a1f8b47f86 /csv.cc
parent7ecbf3e125481a02c541f9eb3ed795ac3e245541 (diff)
downloadledger-d159501993cfd0215f94f0e5e16796558417b681.tar.gz
ledger-d159501993cfd0215f94f0e5e16796558417b681.tar.bz2
ledger-d159501993cfd0215f94f0e5e16796558417b681.zip
The code is compiling again, but it's far from being able to run yet.
Diffstat (limited to 'csv.cc')
-rw-r--r--csv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv.cc b/csv.cc
index 4a8c1157..6a94ec4b 100644
--- a/csv.cc
+++ b/csv.cc
@@ -3,10 +3,10 @@
namespace ledger {
namespace {
- inline void write_escaped_string(std::ostream& out, const std::string& xact)
+ inline void write_escaped_string(std::ostream& out, const string& xact)
{
out << "\"";
- for (std::string::const_iterator i = xact.begin(); i != xact.end(); i++)
+ for (string::const_iterator i = xact.begin(); i != xact.end(); i++)
if (*i == '"') {
out << "\\";
out << "\"";