From d16fc7d2c79eb8cd8f71191ec95dc80b8588e883 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Thu, 3 Dec 2015 15:24:45 +0100 Subject: [PATCH] fix msvc --- src/libsnore/plugins/plugincontainer.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/libsnore/plugins/plugincontainer.h b/src/libsnore/plugins/plugincontainer.h index e678a3e..f4a440a 100644 --- a/src/libsnore/plugins/plugincontainer.h +++ b/src/libsnore/plugins/plugincontainer.h @@ -52,17 +52,16 @@ private: static const QDir &pluginDir(); static inline const QStringList pluginExtentions() { - QStringList out({ + QStringList out; #if defined(Q_OS_UNIX) - QStringLiteral("so") + out << QStringLiteral("so"); #endif #if defined(Q_OS_WIN) - QStringLiteral("dll") + out << QStringLiteral("dll"); #endif #if defined(Q_OS_MAC) - QStringLiteral("dylib") + out << QStringLiteral("dylib"); #endif - }); return out; }