|
|
@ -29,18 +29,5 @@ namespace dev |
|
|
|
|
|
|
|
char const* Version = "0.7.4"; |
|
|
|
|
|
|
|
inline bool assertAux(bool _a, char const* _aStr, unsigned _line, char const* _file, char const* _func) |
|
|
|
{ |
|
|
|
bool ret = _a; |
|
|
|
if (!ret) |
|
|
|
{ |
|
|
|
std::cerr << "Assertion failed:" << _aStr << " [func=" << _func << ", line=" << _line << ", file=" << _file << "]" << std::endl; |
|
|
|
#if ETH_DEBUG |
|
|
|
debug_break(); |
|
|
|
#endif |
|
|
|
} |
|
|
|
return !ret; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|