From 8c20039dfe259b77ca413f7154b58dcf084dd8e3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 21 Aug 2015 14:38:56 +0200 Subject: [PATCH] Fix formatting in mkclass fixes #9966 --- tools/mkclass/classcompiler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/mkclass/classcompiler.cpp b/tools/mkclass/classcompiler.cpp index 4a85acfbc..d079e5694 100644 --- a/tools/mkclass/classcompiler.cpp +++ b/tools/mkclass/classcompiler.cpp @@ -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 */ -- 2.50.1