aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-01-08 13:31:55 -0500
committerCory Fields <cory-nospam-@coryfields.com>2016-01-08 13:32:00 -0500
commitc0cf48d1ac5b661aa1dfbcd284c773f8f5bbe806 (patch)
tree10a02afac4991c43503827cdae1260c217fcbe1c /src/wallet/walletdb.cpp
parent9de541a9c95a47c3f5c9e443a0ad3040b9791a2f (diff)
downloadbitcoin-c0cf48d1ac5b661aa1dfbcd284c773f8f5bbe806.tar.xz
c++11: add scoped enum fallbacks to CPPFLAGS rather than defining them locally
Due to include ordering, defining in one place was not enough to ensure correct usage. Use global defines so that we don't have to worry abou this ordering. Also add a comment in configure about the test.
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 5266946ca0..67511976df 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -15,11 +15,6 @@
#include "utiltime.h"
#include "wallet/wallet.h"
-#if defined(FORCE_BOOST_EMULATED_SCOPED_ENUMS)
-#define BOOST_NO_SCOPED_ENUMS
-#define BOOST_NO_CXX11_SCOPED_ENUMS
-#endif
-
#include <boost/version.hpp>
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>