mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 12:00:01 +00:00
prevent name clash (#7133)
This commit is contained in:
@@ -569,7 +569,7 @@ inline MonsterT::MonsterT(const MonsterT &o)
|
||||
equipped(o.equipped),
|
||||
path(o.path) {
|
||||
weapons.reserve(o.weapons.size());
|
||||
for (const auto &v : o.weapons) { weapons.emplace_back((v) ? new MyGame::Sample::WeaponT(*v) : nullptr); }
|
||||
for (const auto &weapons_ : o.weapons) { weapons.emplace_back((weapons_) ? new MyGame::Sample::WeaponT(*weapons_) : nullptr); }
|
||||
}
|
||||
|
||||
inline MonsterT &MonsterT::operator=(MonsterT o) FLATBUFFERS_NOEXCEPT {
|
||||
|
||||
Reference in New Issue
Block a user