Commit 01249c1d authored by RevenantX's avatar RevenantX

remove unused funciton.

parent 588564d7
......@@ -271,19 +271,6 @@ static std::string GenOffsetType(const LanguageParameters &lang, const StructDef
}
}
static std::string GenOffsetConstruct(const LanguageParameters &lang,
const Type &type,
const std::string &variable_name)
{
if(lang.language == GeneratorOptions::kCSharp) {
switch(type.base_type) {
case BASE_TYPE_VECTOR: return "new VectorOffset(" + variable_name + ")";
case BASE_TYPE_STRING: return "new StringOffset(" + variable_name + ")";
}
}
return variable_name;
}
static std::string GenOffsetConstruct(const LanguageParameters &lang,
const StructDef &struct_def,
const std::string &variable_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment