mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
format
This commit is contained in:
parent
c9b963e82b
commit
de626dcbbc
@ -1,5 +1,6 @@
|
|||||||
#include <gtkmm/button.h>
|
#include <gtkmm/button.h>
|
||||||
#include <gtkmm/label.h>
|
#include <gtkmm/label.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "AModule.hpp"
|
#include "AModule.hpp"
|
||||||
|
@ -100,8 +100,7 @@ void Workspaces::create_workspace(int id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Workspaces::remove_workspace(int id) {
|
void Workspaces::remove_workspace(int id) {
|
||||||
auto workspace = std::find_if(
|
auto workspace = std::find_if(workspaces_.begin(), workspaces_.end(),
|
||||||
workspaces_.begin(), workspaces_.end(),
|
|
||||||
[&](std::unique_ptr<Workspace> &x) { return x->id() == id; });
|
[&](std::unique_ptr<Workspace> &x) { return x->id() == id; });
|
||||||
|
|
||||||
if (workspace == workspaces_.end()) {
|
if (workspace == workspaces_.end()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user