summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-29 18:57:02 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-29 18:57:02 -0400
commit200d919fe7c8bcf021011c16fb6ec50821444d5e (patch)
treec3da877b2968bf9ee697727c19bec5fe16c59144 /journal.h
parentd073a7e8a599def9c6dae0f98903d9b59766e9fc (diff)
downloadledger-200d919fe7c8bcf021011c16fb6ec50821444d5e.tar.gz
ledger-200d919fe7c8bcf021011c16fb6ec50821444d5e.tar.bz2
ledger-200d919fe7c8bcf021011c16fb6ec50821444d5e.zip
Changed the way scopes are structured for an upcoming design change.
Diffstat (limited to 'journal.h')
-rw-r--r--journal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/journal.h b/journal.h
index 2248714e..636616f2 100644
--- a/journal.h
+++ b/journal.h
@@ -351,7 +351,7 @@ class account_t
account_t(account_t * _parent = NULL,
const string& _name = "",
- const optional<string> _note = none)
+ const optional<string>& _note = none)
: parent(_parent), name(_name), note(_note),
depth(parent ? parent->depth + 1 : 0), data(NULL), ident(0) {
TRACE_CTOR(account_t, "account_t *, const string&, const string&");
@@ -502,10 +502,10 @@ public:
{
public:
parser_t() {
- TRACE_CTOR(parser_t, "");
+ TRACE_CTOR(journal_t::parser_t, "");
}
virtual ~parser_t() {
- TRACE_DTOR(parser_t);
+ TRACE_DTOR(journal_t::parser_t);
}
virtual bool test(std::istream& in) const = 0;