diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-11 18:02:47 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-11 18:02:47 -0500 |
commit | 31f85cc8039aa255f04fdccaa6bd9f54f0b65a99 (patch) | |
tree | ae46d5cf2d9912537f676223dc1ba22a45db2619 /src/utils.cc | |
parent | a8bc4728fed33838aebe1a1e163bf0414c0511f8 (diff) | |
download | fork-ledger-31f85cc8039aa255f04fdccaa6bd9f54f0b65a99.tar.gz fork-ledger-31f85cc8039aa255f04fdccaa6bd9f54f0b65a99.tar.bz2 fork-ledger-31f85cc8039aa255f04fdccaa6bd9f54f0b65a99.zip |
Use ledger::string only if VERIFY_ON or BOOST_PYTHON
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 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) |