mirror of https://github.com/Icinga/icinga2.git
Fix compiler warnings on macOS 10.13
This commit is contained in:
parent
f95f3a9e30
commit
dd9724bc55
|
@ -247,8 +247,6 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
|
||||||
<< "public:" << std::endl
|
<< "public:" << std::endl
|
||||||
<< "\t" << "DECLARE_PTR_TYPEDEFS(TypeImpl<" << klass.Name << ">);" << std::endl << 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 */
|
/* GetName */
|
||||||
m_Header << "\t" << "virtual String GetName(void) const;" << std::endl;
|
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
|
<< "public:" << std::endl
|
||||||
<< "\t" << "DECLARE_PTR_TYPEDEFS(ObjectImpl<" << klass.Name << ">);" << std::endl << 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 */
|
/* Validate */
|
||||||
m_Header << "\t" << "virtual void Validate(int types, const ValidationUtils& utils) override;" << std::endl;
|
m_Header << "\t" << "virtual void Validate(int types, const ValidationUtils& utils) override;" << std::endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue