summaryrefslogtreecommitdiff
path: root/report.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 /report.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 'report.h')
-rw-r--r--report.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/report.h b/report.h
index 0a1366e1..7c5c6384 100644
--- a/report.h
+++ b/report.h
@@ -81,7 +81,7 @@ namespace ledger {
// says that the formatter should be "flushed" after the entities are
// iterated. This does not happen for the commodities iteration, however.
-class report_t : public symbol_scope_t
+class report_t : public noncopyable, public scope_t
{
report_t();
@@ -134,9 +134,7 @@ public:
session_t& session;
explicit report_t(session_t& _session)
- : symbol_scope_t(downcast<scope_t>(_session)),
-
- head_entries(0),
+ : head_entries(0),
tail_entries(0),
show_collapsed(false),