diff --git a/interfaces/inner_api/event_handler.h b/interfaces/inner_api/event_handler.h index 47cec1e221bea2b8ef4d3309a2b71b63c2553be8..3bf97799f60531f4d34cf8e41bffce7ad433c88e 100644 --- a/interfaces/inner_api/event_handler.h +++ b/interfaces/inner_api/event_handler.h @@ -36,14 +36,15 @@ struct Caller { int line_ {0}; std::string func_ {""}; #if __has_builtin(__builtin_FILE) - Caller(std::string file = __builtin_FILE(), int line = __builtin_LINE(), std::string func = __builtin_FUNCTION()): - file_(file), line_(line), func_(func) { + Caller(std::string file = __builtin_FILE(), int line = __builtin_LINE(), std::string func = __builtin_FUNCTION()) + : file_(file), line_(line), func_(func) { } #else Caller() { } #endif - std::string ToString() { + std::string ToString() + { if (file_.empty()) { return "[ ]"; }