Commit 0b761ece authored by RevenantX's avatar RevenantX

default in switch.

parent 01249c1d
......@@ -370,6 +370,8 @@ static std::string GenDefaultValue(const LanguageParameters &lang, const Value &
return "default(Offset<" + value.type.struct_def->name + ">)";
case BASE_TYPE_VECTOR:
return "default(VectorOffset)";
default:
break;
}
}
......
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