From 10d979c88cdcbab18e3401427f981e22d80ce8bb Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Fri, 23 Jun 2017 15:11:57 +0200 Subject: [PATCH] main: c++-ifiy struct conn c init Signed-off-by: Marcus Fritzsch --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.16.6