mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
fix(core): Omit trailing semicolon in macro
This commit is contained in:
parent
34832d8cd8
commit
f5bb87f39a
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ struct Exception : public std::runtime_error
|
|||
#define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \
|
||||
ExName(std::string error_message = "") \
|
||||
: ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \
|
||||
};
|
||||
#define DefineBaseException(ExName) DefineChildException(ExName, Exception);
|
||||
}
|
||||
#define DefineBaseException(ExName) DefineChildException(ExName, Exception)
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue