1
0
Fork 0
forked from lthn/blockchain

add LOCATION_CSTR macro

This commit is contained in:
sowle 2019-11-12 11:28:09 +03:00
parent 215a0b1786
commit 2fd120f201
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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