diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:36 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:36 -0500 |
commit | c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5 (patch) | |
tree | 1bb073ee58788a2f292d7364ae9cf438659fb5b0 /src/utils.cc | |
parent | 1a45d745438b4571d23c19a0c3fe97f68bccd4f0 (diff) | |
download | fork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.tar.gz fork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.tar.bz2 fork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.zip |
Added support for building with Clang and libc++ in C++11
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.cc b/src/utils.cc index 17118904..ada6b600 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -489,7 +489,7 @@ void report_memory(std::ostream& out, bool report_all) namespace ledger { -#if defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON) +#if !defined(HAVE_CPP11) && (defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)) string::string() : std::string() { TRACE_CTOR(string, ""); @@ -527,7 +527,7 @@ string::~string() throw() { TRACE_DTOR(string); } -#endif // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON) +#endif // !defined(HAVE_CPP11) && (defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)) string empty_string(""); |