mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor(bar): prefer standard unique_ptr
This commit is contained in:
@ -15,7 +15,7 @@ int main(int argc, char* argv[])
|
||||
waybar::client = &c;
|
||||
std::signal(SIGUSR1, [] (int signal) {
|
||||
for (auto& bar : waybar::client->bars) {
|
||||
bar.toggle();
|
||||
bar.get()->toggle();
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user