mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Specify `std' namespace for remove function (#4268)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
33932ceea4
commit
370693a200
@@ -1375,7 +1375,7 @@ CheckedError Parser::StartStruct(const std::string &name, StructDef **dest) {
|
||||
struct_def.file = file_being_parsed_;
|
||||
// Move this struct to the back of the vector just in case it was predeclared,
|
||||
// to preserve declaration order.
|
||||
*remove(structs_.vec.begin(), structs_.vec.end(), &struct_def) = &struct_def;
|
||||
*std::remove(structs_.vec.begin(), structs_.vec.end(), &struct_def) = &struct_def;
|
||||
*dest = &struct_def;
|
||||
return NoError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user