forked from lthn/blockchain
add LOCATION_CSTR macro
This commit is contained in:
parent
215a0b1786
commit
2fd120f201
2 changed files with 1 additions and 1 deletions
|
|
@ -120,6 +120,7 @@ DISABLE_VS_WARNINGS(4100)
|
|||
#endif
|
||||
|
||||
#define LOCATION_SS "[" << LOCAL_FUNCTION_DEF__ << ("] @ " __FILE__ ":" STR(__LINE__))
|
||||
#define LOCATION_CSTR ("[" LOCAL_FUNCTION_DEF__ "] @ " __FILE__ ":" STR(__LINE__))
|
||||
|
||||
#if !defined(DISABLE_RELEASE_LOGGING)
|
||||
#define ENABLE_LOGGING_INTERNAL
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ namespace epee
|
|||
if (!epee::string_tools::hex_to_pod(a, res))
|
||||
throw std::runtime_error(std::string("Unable to transform \"") + a + "\" to pod type " + typeid(t_pod_type).name());
|
||||
return res;
|
||||
CHECK_AND_ASSERT_THROW_MES
|
||||
}
|
||||
|
||||
//basic helpers for blob-to-hex serialization
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue