summaryrefslogtreecommitdiff
path: root/ledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.cc')
-rw-r--r--ledger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ledger.cc b/ledger.cc
index 91f2a273..ef7a9d94 100644
--- a/ledger.cc
+++ b/ledger.cc
@@ -136,7 +136,7 @@ void totals::print(std::ostream& out, int width) const
out << std::endl;
out.width(width);
- out << std::right << *((*i).second);
+ out << std::right << (*i).second->as_str();
}
}