From 80a741f3616290897ba0d9f1cbd3c9c5ee62da37 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 6 Jan 2016 13:26:40 +0100 Subject: Make template instantiation in QFactoryLoader explicit gcc 4.9.2 does not understand it otherwise. Change-Id: I131a14c526c1213665fdbbeb75032e41eac6cd63 Reviewed-by: Marc Mutz --- src/corelib/plugin/qfactoryloader_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/plugin/qfactoryloader_p.h') diff --git a/src/corelib/plugin/qfactoryloader_p.h b/src/corelib/plugin/qfactoryloader_p.h index a4690c3f03..e67bb98976 100644 --- a/src/corelib/plugin/qfactoryloader_p.h +++ b/src/corelib/plugin/qfactoryloader_p.h @@ -164,7 +164,7 @@ PluginInterface *qLoadPlugin(const QFactoryLoader *loader, template Q_DECL_DEPRECATED PluginInterface *qLoadPlugin1(const QFactoryLoader *loader, const QString &key, Arg &&arg) -{ return qLoadPlugin(loader, key, std::forward(arg)); } +{ return qLoadPlugin(loader, key, std::forward(arg)); } QT_END_NAMESPACE -- cgit v1.2.3