mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Merge pull request #5641 from Icinga/fix/compiler-warnings-high-sierra
Fix compiler warnings on macOS 10.13
This commit is contained in:
commit
f0e1114e8e
@ -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…
x
Reference in New Issue
Block a user