From d812584d218d6e22097eaed7f4f73bb5ec44f842 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Mon, 10 Nov 2014 15:18:27 -0500 Subject: [PATCH] plugin_manager: fix clang warnings Fixes warning: "use of GNU old-style field designator extension" Refs #58171 Change-Id: If6a3a8d22f959b5fe6307e3eb2ed98171fd75bfa --- daemon/src/plugin_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/src/plugin_manager.cpp b/daemon/src/plugin_manager.cpp index 3403b82f17..8b2b13dd50 100644 --- a/daemon/src/plugin_manager.cpp +++ b/daemon/src/plugin_manager.cpp @@ -197,8 +197,8 @@ PluginManager::createObject(const std::string& type) return {nullptr, nullptr}; RING_PluginObjectParams op = { - pluginApi : &pluginApi_, - type : type.c_str(), + .pluginApi = &pluginApi_, + .type = type.c_str(), }; // Try to find an exact match -- GitLab