From 817f1ae1619df06f06f79f772f075041bb70f751 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Nov 2009 02:24:39 -0500 Subject: std::string now only intercepted if STRING_VERIFY_ON --- src/utils.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils.cc') 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 -- cgit v1.2.3