From 2895dc6648d50cbcf2c812e486272219e4d230e1 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Thu, 12 Feb 2015 09:37:24 +0100 Subject: [PATCH] typo --- libdevcore/CommonData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdevcore/CommonData.cpp b/libdevcore/CommonData.cpp index b2478d233..09b525d59 100644 --- a/libdevcore/CommonData.cpp +++ b/libdevcore/CommonData.cpp @@ -96,7 +96,7 @@ bytes dev::fromHex(std::string const& _s, ThrowType _throw) #ifndef BOOST_NO_EXCEPTIONS cwarn << boost::current_exception_diagnostic_information(); #endif - if (_throw = ThrowType::Throw) + if (_throw == ThrowType::Throw) throw; } for (unsigned i = s; i < _s.size(); i += 2) @@ -109,7 +109,7 @@ bytes dev::fromHex(std::string const& _s, ThrowType _throw) #ifndef BOOST_NO_EXCEPTIONS cwarn << boost::current_exception_diagnostic_information(); #endif - if (_throw = ThrowType::Throw) + if (_throw == ThrowType::Throw) throw; } return ret;