summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 15:11:57 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit10d979c88cdcbab18e3401427f981e22d80ce8bb (patch)
tree57dfb6d188a4cfdeb126b5061a737d2e0af037f7
parent2cf43e5ff74f7e7cf782cf789c87423aedd39ac4 (diff)
main: c++-ifiy struct conn c init
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dc67f94..91b0c50 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -131,7 +131,7 @@ int main(int argc, char **argv) {
if (!d->ok())
fatal("Could not connect to compositor");
- struct conn c = {};
+ struct conn c{};
d->r->add_global_handler(
"ivi_controller", [&c](wl_registry *r, uint32_t name, uint32_t v) {