summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ledger.h b/ledger.h
index 0e261ceb..99287cc6 100644
--- a/ledger.h
+++ b/ledger.h
@@ -1,5 +1,5 @@
#ifndef _LEDGER_H
-#define _LEDGER_H "$Revision: 1.1 $"
+#define _LEDGER_H "$Revision: 1.2 $"
//////////////////////////////////////////////////////////////////////
//
@@ -210,6 +210,13 @@ class totals
}
};
+template<class Traits>
+std::basic_ostream<char, Traits> &
+operator<<(std::basic_ostream<char, Traits>& out, const totals& t) {
+ t.print(out);
+ return out;
+}
+
struct account
{
std::string name;