Remove unused prototypes in the THPP files

refs #8890
This commit is contained in:
Gunnar Beutner 2015-03-28 23:38:05 +01:00
parent 42a7ca4e78
commit 8c75e16b2a
1 changed files with 2 additions and 7 deletions

View File

@ -640,18 +640,13 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
void ClassCompiler::CodeGenValidator(const std::string& name, const std::string& klass, const std::vector<Rule>& rules, const std::string& field, const FieldType& fieldType, ValidatorType validatorType) void ClassCompiler::CodeGenValidator(const std::string& name, const std::string& klass, const std::vector<Rule>& rules, const std::string& field, const FieldType& fieldType, ValidatorType validatorType)
{ {
m_Header << "void TIValidate" << name << "(const intrusive_ptr<ObjectImpl<" << klass << "> >& object, "; m_Impl << "static void TIValidate" << name << "(const intrusive_ptr<ObjectImpl<" << klass << "> >& object, ";
m_Impl << "void TIValidate" << name << "(const intrusive_ptr<ObjectImpl<" << klass << "> >& object, ";
if (validatorType != ValidatorField) { if (validatorType != ValidatorField)
m_Header << "const String& key, ";
m_Impl << "const String& key, "; m_Impl << "const String& key, ";
}
bool static_known_attribute = false; bool static_known_attribute = false;
m_Header << fieldType.GetArgumentType() << " value, std::vector<String>& location, const ValidationUtils& utils);" << std::endl;
m_Impl << fieldType.GetArgumentType() << " value, std::vector<String>& location, const ValidationUtils& utils)" << std::endl m_Impl << fieldType.GetArgumentType() << " value, std::vector<String>& location, const ValidationUtils& utils)" << std::endl
<< "{" << std::endl; << "{" << std::endl;