diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-26 04:08:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-26 04:08:55 -0400 |
commit | 961b30926b3b9f2b3e9c1a99df3f25fea6b13118 (patch) | |
tree | f0f5efcc0b63f337c4838b8aad46dea2cd7926e4 /flags.h | |
parent | ee396957226e2273bc60ede7192c27038c432f24 (diff) | |
download | fork-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.h | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -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(); |