fixed the windows build files
This commit is contained in:
parent
f8139b05cb
commit
b8681d8031
|
@ -271,6 +271,7 @@
|
|||
<ClCompile Include="..\..\src\idl_gen_go.cpp">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\idl_gen_python.cpp" />
|
||||
<ClCompile Include="..\..\src\idl_parser.cpp" />
|
||||
<ClCompile Include="..\..\src\idl_gen_cpp.cpp" />
|
||||
<ClCompile Include="..\..\src\idl_gen_text.cpp" />
|
||||
|
|
|
@ -275,6 +275,7 @@ static void GenTable(const Parser &parser, StructDef &struct_def,
|
|||
nested->constant);
|
||||
auto nested_root = parser.structs_.Lookup(qualified_name);
|
||||
assert(nested_root); // Guaranteed to exist by parser.
|
||||
(void)nested_root;
|
||||
std::string cpp_qualified_name = TranslateNameSpace(qualified_name);
|
||||
|
||||
code += " const " + cpp_qualified_name + " *" + field.name;
|
||||
|
|
Loading…
Reference in New Issue