From 56be35830a0d688e73ef28bb444b51d6b8232eab Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 1 Jul 2015 15:45:10 +0200 Subject: [PATCH] Debug compile fix. --- libdevcore/Common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdevcore/Common.h b/libdevcore/Common.h index a3ab374a6..c7fdb6dab 100644 --- a/libdevcore/Common.h +++ b/libdevcore/Common.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #pragma warning(push) #pragma GCC diagnostic push @@ -186,7 +187,7 @@ private: /// Scope guard for invariant check in a class derived from HasInvariants. #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 #define DEV_INVARIANT_CHECK (void)0; #endif