File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if "%1"=="-b" set buildtype=%2
26
26
27
27
IF NOT " %MONSTER_EXTRA% " == " skip" (
28
28
@ echo Generate MosterExtra
29
- ..\%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
29
+ ..\%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
30
30
) else (
31
31
@ echo monster_extra.fbs skipped (the strtod function from MSVC2013 or older doesn't support NaN/Inf arguments)
32
32
)
Original file line number Diff line number Diff line change 21
21
../flatc -b --schema --bfbs-comments --bfbs-builtins -I include_test monster_test.fbs
22
22
../flatc -b --schema --bfbs-comments --bfbs-builtins -I include_test arrays_test.fbs
23
23
../flatc --jsonschema --schema -I include_test monster_test.fbs
24
- ../flatc --cpp --java --kotlin --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes monster_extra.fbs monsterdata_extra.json
24
+ ../flatc --cpp --java --kotlin --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
25
25
../flatc --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes --scoped-enums --jsonschema --cpp-ptr-type flatbuffers::unique_ptr arrays_test.fbs
26
26
cd ../samples
27
27
../flatc --cpp --lobster --gen-mutable --reflect-names --gen-object-api --gen-compare --cpp-ptr-type flatbuffers::unique_ptr monster.fbs
Original file line number Diff line number Diff line change @@ -389,16 +389,16 @@ inline void FinishSizePrefixedMonsterExtraBuffer(
389
389
fbb.FinishSizePrefixed (root, MonsterExtraIdentifier ());
390
390
}
391
391
392
- inline std ::unique_ptr<MyGame::MonsterExtraT> UnPackMonsterExtra (
392
+ inline flatbuffers ::unique_ptr<MyGame::MonsterExtraT> UnPackMonsterExtra (
393
393
const void *buf,
394
394
const flatbuffers::resolver_function_t *res = nullptr ) {
395
- return std ::unique_ptr<MyGame::MonsterExtraT>(GetMonsterExtra (buf)->UnPack (res));
395
+ return flatbuffers ::unique_ptr<MyGame::MonsterExtraT>(GetMonsterExtra (buf)->UnPack (res));
396
396
}
397
397
398
- inline std ::unique_ptr<MyGame::MonsterExtraT> UnPackSizePrefixedMonsterExtra (
398
+ inline flatbuffers ::unique_ptr<MyGame::MonsterExtraT> UnPackSizePrefixedMonsterExtra (
399
399
const void *buf,
400
400
const flatbuffers::resolver_function_t *res = nullptr ) {
401
- return std ::unique_ptr<MyGame::MonsterExtraT>(GetSizePrefixedMonsterExtra (buf)->UnPack (res));
401
+ return flatbuffers ::unique_ptr<MyGame::MonsterExtraT>(GetSizePrefixedMonsterExtra (buf)->UnPack (res));
402
402
}
403
403
404
404
} // namespace MyGame
You can’t perform that action at this time.
0 commit comments