diff --git a/emper/Common.hpp b/emper/Common.hpp index a93a8017f246fd27382d34deed789c0123d59d1f..46ca33d721e9a592ac71a61ffd05e4f413809b97 100644 --- a/emper/Common.hpp +++ b/emper/Common.hpp @@ -9,8 +9,8 @@ typedef std::function<void(void)> func_t; #define STRINGIFY(x) #x #define TOSTRING(x) STRINGIFY(x) #define DIE die(__FILE__ ":" TOSTRING(__LINE__), false) -#define DIE_MSG(x) die(__FILE__ ":" TOSTRING(__LINE__) "-" #x, false) -#define DIE_MSG_ERRNO(x) die(__FILE__ ":" TOSTRING(__LINE__) "-" #x, true) +#define DIE_MSG(x) die(__FILE__ ":" TOSTRING(__LINE__) " " #x, false) +#define DIE_MSG_ERRNO(x) die(__FILE__ ":" TOSTRING(__LINE__) " " #x, true) #define likely(x) __builtin_expect(!!(x),1) #define unlikely(x) __builtin_expect(!!(x),0)