Browse Source

typo

cl-refactor
CJentzsch 10 years ago
parent
commit
2895dc6648
  1. 4
      libdevcore/CommonData.cpp

4
libdevcore/CommonData.cpp

@ -96,7 +96,7 @@ bytes dev::fromHex(std::string const& _s, ThrowType _throw)
#ifndef BOOST_NO_EXCEPTIONS #ifndef BOOST_NO_EXCEPTIONS
cwarn << boost::current_exception_diagnostic_information(); cwarn << boost::current_exception_diagnostic_information();
#endif #endif
if (_throw = ThrowType::Throw) if (_throw == ThrowType::Throw)
throw; throw;
} }
for (unsigned i = s; i < _s.size(); i += 2) 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 #ifndef BOOST_NO_EXCEPTIONS
cwarn << boost::current_exception_diagnostic_information(); cwarn << boost::current_exception_diagnostic_information();
#endif #endif
if (_throw = ThrowType::Throw) if (_throw == ThrowType::Throw)
throw; throw;
} }
return ret; return ret;

Loading…
Cancel
Save