diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-05 02:24:39 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-05 02:27:42 -0500 |
commit | 817f1ae1619df06f06f79f772f075041bb70f751 (patch) | |
tree | f5714d8dcbf249e1ad3df18b35d297b8ae6c7c71 /src/utils.cc | |
parent | 3dc200983d5057a7760aeb9e864479c902d7e1d7 (diff) | |
download | fork-ledger-817f1ae1619df06f06f79f772f075041bb70f751.tar.gz fork-ledger-817f1ae1619df06f06f79f772f075041bb70f751.tar.bz2 fork-ledger-817f1ae1619df06f06f79f772f075041bb70f751.zip |
std::string now only intercepted if STRING_VERIFY_ON
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.cc b/src/utils.cc index c68737dc..2f2899fb 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -407,6 +407,8 @@ void report_memory(std::ostream& out, bool report_all) } +#if defined(STRING_VERIFY_ON) + string::string() : std::string() { TRACE_CTOR(string, ""); } @@ -443,6 +445,8 @@ string::~string() throw() { TRACE_DTOR(string); } +#endif // STRING_VERIFY_ON + } // namespace ledger #endif // VERIFY_ON |