mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user