mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-18 16:32:32 +02: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