From 1dbb338842a9725cfbad73007f69244a13a0bea7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 17 Jun 2020 17:29:09 +0200 Subject: Adapt to C++20 CWG2237 ... "Can a template-id name a constructor?", as implemented by GCC 11 trunk since "c++: C++20 DR 2237, disallow simple-template-id in cdtor." Change-Id: I2113a3968549103e1b35fb17d7f12770ba0086d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96547 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/vbahelper/vbahelperinterface.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vbahelper/vbahelperinterface.hxx') diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index 5feb4ab83eba..0bbf18992ec3 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -108,7 +108,7 @@ class SAL_DLLPUBLIC_TEMPLATE InheritedHelperInterfaceWeakImpl : public Inherited { typedef InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > Base; public: - InheritedHelperInterfaceWeakImpl< Ifc... >( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xParent, xContext ) {} + InheritedHelperInterfaceWeakImpl( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xParent, xContext ) {} }; -- cgit