From: Gunnar Beutner Date: Mon, 2 Oct 2017 07:13:37 +0000 (+0200) Subject: Fix compiler warnings on macOS 10.13 X-Git-Tag: v2.8.0~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F5641%2Fhead;p=icinga2 Fix compiler warnings on macOS 10.13 --- diff --git a/tools/mkclass/classcompiler.cpp b/tools/mkclass/classcompiler.cpp index 6eade5a52..bff7b0290 100644 --- a/tools/mkclass/classcompiler.cpp +++ b/tools/mkclass/classcompiler.cpp @@ -247,8 +247,6 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&) << "public:" << std::endl << "\t" << "DECLARE_PTR_TYPEDEFS(TypeImpl<" << klass.Name << ">);" << std::endl << std::endl; - m_Impl << "template class TypeImpl<" << klass.Name << ">;" << std::endl << std::endl; - /* GetName */ m_Header << "\t" << "virtual String GetName(void) const;" << std::endl; @@ -474,8 +472,6 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&) << "public:" << std::endl << "\t" << "DECLARE_PTR_TYPEDEFS(ObjectImpl<" << klass.Name << ">);" << std::endl << std::endl; - m_Impl << "template class ObjectImpl<" << klass.Name << ">;" << std::endl << std::endl; - /* Validate */ m_Header << "\t" << "virtual void Validate(int types, const ValidationUtils& utils) override;" << std::endl;