remove use of new on Layout

This commit is contained in:
en3wton
2023-03-21 19:30:35 +00:00
parent 4ab4ff790e
commit bbcfb5e138
2 changed files with 8 additions and 6 deletions

View File

@ -26,7 +26,7 @@ class Language : public waybar::ALabel, public EventHandler {
std::string short_description;
};
auto getLayout(const std::string&) -> Layout*;
auto getLayout(const std::string&) -> Layout;
std::mutex mutex_;
const Bar& bar_;