summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 6cef1a8c..d661f410 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -417,6 +417,8 @@ void report_memory(std::ostream& out, bool report_all)
namespace ledger {
+#if defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
+
string::string() : std::string() {
TRACE_CTOR(string, "");
}
@@ -453,6 +455,8 @@ string::~string() throw() {
TRACE_DTOR(string);
}
+#endif // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
+
string empty_string("");
strings_list split_arguments(const char * line)