summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 15:37:34 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit0b465f48da16c2e4f634a53892705c7ecc885ece (patch)
tree8ac4f464f86e1667f8e33fe94c08aa5c385fad0d /src/wayland.cpp
parent10d979c88cdcbab18e3401427f981e22d80ce8bb (diff)
use unordered_map for id->obj maps
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r--src/wayland.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index b644313..c660bec 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -74,9 +74,8 @@ void registry::global(uint32_t name, char const *iface, uint32_t v) {
auto b = this->bindings.find(iface);
if (b != this->bindings.end())
b->second(this->proxy, name, v);
- else
- logdebug("wl::registry @ %p global n %u i %s v %u", this->proxy, name,
- iface, v);
+ logdebug("wl::registry @ %p global n %u i %s v %u", this->proxy, name,
+ iface, v);
}
void registry::global_remove(uint32_t name) {}