aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app.hpp b/src/app.hpp
index ab4e809..4dce828 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -69,7 +69,6 @@ struct id_allocator
// Surfaces that where requested but not yet created
std::unordered_map<unsigned, std::string> id2name;
- // std::unordered_set<unsigned> pending_surfaces;
std::unordered_map<std::string, unsigned> name2id;
id_allocator(id_allocator const &) = delete;
@@ -82,7 +81,6 @@ struct id_allocator
{
unsigned sid = this->next++;
this->id2name[sid] = name;
- // this->pending_surfaces.insert({sid});
this->name2id[name] = sid;
HMI_DEBUG("wm", "allocated new id %u with name %s", sid, name.c_str());
return sid;