summaryrefslogtreecommitdiff
path: root/flags.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
commit961b30926b3b9f2b3e9c1a99df3f25fea6b13118 (patch)
treef0f5efcc0b63f337c4838b8aad46dea2cd7926e4 /flags.h
parentee396957226e2273bc60ede7192c27038c432f24 (diff)
downloadfork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.gz
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.bz2
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.zip
--verify works again, but the memory totals at the end still need work.
Diffstat (limited to 'flags.h')
-rw-r--r--flags.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/flags.h b/flags.h
index 5ae8b60f..e9c7c740 100644
--- a/flags.h
+++ b/flags.h
@@ -42,8 +42,15 @@ protected:
flags_t flags_;
public:
- supports_flags() : flags_(0) {}
- supports_flags(const flags_t arg) : flags_(arg) {}
+ supports_flags() : flags_(0) {
+ TRACE_CTOR(supports_flags, "");
+ }
+ supports_flags(const flags_t& arg) : flags_(arg) {
+ TRACE_CTOR(supports_flags, "copy");
+ }
+ ~supports_flags() throw() {
+ TRACE_DTOR(supports_flags);
+ }
flags_t flags() const {
return flags_;
@@ -76,8 +83,15 @@ protected:
supports_flags<T>& flags_;
public:
- delegates_flags() : flags_() {}
- delegates_flags(supports_flags<T>& arg) : flags_(arg) {}
+ delegates_flags() : flags_() {
+ TRACE_CTOR(delegates_flags, "");
+ }
+ delegates_flags(supports_flags<T>& arg) : flags_(arg) {
+ TRACE_CTOR(delegates_flags, "const supports_flags<T>&");
+ }
+ ~delegates_flags() throw() {
+ TRACE_DTOR(delegates_flags);
+ }
flags_t flags() const {
return flags_.flags();