22 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4
48 : error_code(other.error_code)
49 , log_event(other.log_event)
50 , error_message(other.error_message)
57 , log_event(message.c_str())
58 , error_message(log_event.
toString(ROADtag, error_code))
80 , log_event(
fmt, d, d2)
87 , log_event(
fmt, d, d2, f)
92 RoadError(
int code,
const char *
fmt,
int d,
int d2,
float f,
const char *s)
94 , log_event(
fmt, d, d2, f, s)
95 , error_message(log_event.
toString(ROADtag, code))
99 RoadError(
int code,
const char *
fmt,
int d,
int d2,
float f,
const void *x)
101 , log_event(
fmt, d, d2, f,
x)
108 , log_event(
fmt, d, d2, f, i)
113 RoadError(
int code,
const char *
fmt,
int d,
int d2,
float f,
long long i)
115 , log_event(
fmt, d, d2, f, i)
122 , log_event(
fmt, d, d2, f, e)
136 const char * RoadError::
139 if(error_message.empty()){
140 error_message= log_event.
toString(ROADtag, error_code);
142 return error_message.c_str();