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

fix: add name_raw to unsupported modules

This commit is contained in:
patrick96 2019-10-23 00:33:20 +02:00 committed by Patrick Ziegler
parent a287fb5e8c
commit 457e37faaf

View file

@ -17,6 +17,9 @@ namespace modules {
MODULE_NAME(const bar_settings, string) { \ MODULE_NAME(const bar_settings, string) { \
throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \ throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \
} \ } \
string name_raw() const { \
return ""; \
} \
string name() const { \ string name() const { \
return ""; \ return ""; \
} \ } \