Change monster_extra generation to use flatbuffers::unique_ptr (#5612)

This commit is contained in:
Derek Bailey
2019-11-07 14:10:41 -08:00
committed by Wouter van Oortmerssen
parent f0f0efe7b8
commit 105dd528e9
3 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ if "%1"=="-b" set buildtype=%2
IF NOT "%MONSTER_EXTRA%"=="skip" (
@echo Generate MosterExtra
..\%buildtype%\flatc.exe --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes monster_extra.fbs monsterdata_extra.json || goto FAIL
..\%buildtype%\flatc.exe --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes --cpp-ptr-type flatbuffers::unique_ptr monster_extra.fbs monsterdata_extra.json || goto FAIL
) else (
@echo monster_extra.fbs skipped (the strtod function from MSVC2013 or older doesn't support NaN/Inf arguments)
)