Browse Source

Debug compile fix.

cl-refactor
Gav Wood 10 years ago
parent
commit
56be35830a
  1. 3
      libdevcore/Common.h

3
libdevcore/Common.h

@ -41,6 +41,7 @@
#include <functional> #include <functional>
#include <string> #include <string>
#include <chrono> #include <chrono>
#include <boost/current_function.hpp>
#include <boost/functional/hash.hpp> #include <boost/functional/hash.hpp>
#pragma warning(push) #pragma warning(push)
#pragma GCC diagnostic push #pragma GCC diagnostic push
@ -186,7 +187,7 @@ private:
/// Scope guard for invariant check in a class derived from HasInvariants. /// Scope guard for invariant check in a class derived from HasInvariants.
#if ETH_DEBUG #if ETH_DEBUG
#define DEV_INVARIANT_CHECK { ::dev::InvariantChecker __dev_invariantCheck(this, BOOST_THROW_EXCEPTION_CURRENT_FUNCTION, __FILE__, __LINE__); } #define DEV_INVARIANT_CHECK { ::dev::InvariantChecker __dev_invariantCheck(this, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__); }
#else #else
#define DEV_INVARIANT_CHECK (void)0; #define DEV_INVARIANT_CHECK (void)0;
#endif #endif

Loading…
Cancel
Save