Optimize ObjectImpl<>::GetDefault*().

Refs #2710
This commit is contained in:
Gunnar Beutner 2013-11-07 11:11:44 +01:00
parent 5caec8c570
commit e25fe1ecc9
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo& locp)
<< "\t" << "{" << std::endl; << "\t" << "{" << std::endl;
if (it->DefaultAccessor.empty()) if (it->DefaultAccessor.empty())
std::cout << "\t\t" << "return Empty;" << std::endl; std::cout << "\t\t" << "return " << it->Type << "();" << std::endl;
else else
std::cout << it->DefaultAccessor << std::endl; std::cout << it->DefaultAccessor << std::endl;