mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Cast char array to pointer to char in INTERNAL_LOG_MESSAGE (#193)
This commit is contained in:
parent
123977f106
commit
24dea1ceea
@ -128,7 +128,7 @@ namespace g3 {
|
|||||||
} // internal
|
} // internal
|
||||||
} // g3
|
} // g3
|
||||||
|
|
||||||
#define INTERNAL_LOG_MESSAGE(level) LogCapture(__FILE__, __LINE__, __PRETTY_FUNCTION__, level)
|
#define INTERNAL_LOG_MESSAGE(level) LogCapture(__FILE__, __LINE__, static_cast<const char*>(__PRETTY_FUNCTION__), level)
|
||||||
|
|
||||||
#define INTERNAL_CONTRACT_MESSAGE(boolean_expression) \
|
#define INTERNAL_CONTRACT_MESSAGE(boolean_expression) \
|
||||||
LogCapture(__FILE__, __LINE__, __PRETTY_FUNCTION__, g3::internal::CONTRACT, boolean_expression)
|
LogCapture(__FILE__, __LINE__, __PRETTY_FUNCTION__, g3::internal::CONTRACT, boolean_expression)
|
||||||
|
Loading…
Reference in New Issue
Block a user