From b02210a3617f86d09a2898bab17c727c73aae6f0 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Thu, 12 Jun 2014 17:36:58 -0400 Subject: [PATCH] fix implicit bigint to bool --- include/fc/crypto/bigint.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/crypto/bigint.hpp b/include/fc/crypto/bigint.hpp index debc869..b91631a 100644 --- a/include/fc/crypto/bigint.hpp +++ b/include/fc/crypto/bigint.hpp @@ -21,7 +21,7 @@ namespace fc { bigint& operator = ( const bigint& a ); bigint& operator = ( bigint&& a ); - operator bool()const; + explicit operator bool()const; bool is_negative()const; int64_t to_int64()const;