[C++] Fix a -Wdeprecated-copy warning. (#6708)
* Fix incorrect assertion usage. * Fix a -Wdeprecated-copy warning. Bug: chromium:1221591 * Just remove constructors/assignment
This commit is contained in:
parent
a6ee335574
commit
bd37e67ac0
|
@ -1970,9 +1970,6 @@ class FlatBufferBuilder {
|
|||
bool operator()(const T &a, const T &b) const {
|
||||
return a.KeyCompareLessThan(&b);
|
||||
}
|
||||
|
||||
FLATBUFFERS_DELETE_FUNC(
|
||||
StructKeyComparator &operator=(const StructKeyComparator &));
|
||||
};
|
||||
/// @endcond
|
||||
|
||||
|
|
Loading…
Reference in New Issue