1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-25 13:55:47 -05:00

fix(core): Omit trailing semicolon in macro

This commit is contained in:
Michael Carlberg 2016-05-24 04:00:43 +02:00
parent 34832d8cd8
commit f5bb87f39a

View file

@ -13,8 +13,8 @@ struct Exception : public std::runtime_error
#define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \ #define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \
ExName(std::string error_message = "") \ ExName(std::string error_message = "") \
: ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \ : ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \
}; }
#define DefineBaseException(ExName) DefineChildException(ExName, Exception); #define DefineBaseException(ExName) DefineChildException(ExName, Exception)
#endif #endif