Explicit instantiations of internal_error were not logging the usual details about the error.
This commit is contained in:
parent
d3c9f3a344
commit
d72d3d6593
|
@ -82,11 +82,12 @@ Error systemErrorCodeToError();
|
|||
inline Error actor_cancelled() { return Error( error_code_operation_cancelled ); }
|
||||
enum { error_code_actor_cancelled = error_code_operation_cancelled };
|
||||
|
||||
extern Error internal_error_impl( const char* file, int line );
|
||||
extern Error internal_error_impl(const char* file, int line);
|
||||
extern Error internal_error_impl(const char* msg, const char* file, int line);
|
||||
extern Error internal_error_impl(const char * a_nm, long long a, const char * op_nm, const char * b_nm, long long b, const char * file, int line);
|
||||
|
||||
#define inernal_error_msg(msg) internal_error_impl(msg, __FILE__, __LINE__)
|
||||
#define internal_error() internal_error_impl(__FILE__, __LINE__)
|
||||
#define internal_error_msg(msg) internal_error_impl(msg, __FILE__, __LINE__)
|
||||
|
||||
extern bool isAssertDisabled( int line );
|
||||
//#define ASSERT( condition ) ((void)0)
|
||||
|
|
Loading…
Reference in New Issue