1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Fix formatting in mkclass

fixes 
This commit is contained in:
Michael Friedrich 2015-08-21 14:38:56 +02:00
parent 981ed591e9
commit 8c20039dfe

@ -755,7 +755,7 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
<< "\t";
}
m_Impl << "On" << it->GetFriendlyName() << "Changed(static_cast<" << klass.Name << " *>(this), cookie);" << std::endl
m_Impl << "\t" << "On" << it->GetFriendlyName() << "Changed(static_cast<" << klass.Name << " *>(this), cookie);" << std::endl
<< "}" << std::endl << std::endl;
}
@ -772,9 +772,9 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
if (it->DefaultAccessor.empty())
m_Impl << "\t" << "return " << realType << "();" << std::endl;
else
m_Impl << it->DefaultAccessor << std::endl;
m_Impl << "\t" << it->DefaultAccessor << std::endl;
m_Impl << "}" << std::endl;
m_Impl << "}" << std::endl << std::endl;
}
/* validators */