[C++] Fix a -Wdeprecated-copy warning. (#6708)
authorpkasting <pkasting@chromium.org>
Sun, 27 Jun 2021 02:50:12 +0000 (19:50 -0700)
committerGitHub <noreply@github.com>
Sun, 27 Jun 2021 02:50:12 +0000 (09:50 +0700)
commitbd37e67ac0b934bc4239a034901dcdf88e594053
tree2ccf7614984a11c690e7b0df039c6f404f45f0ac
parenta6ee3355740ff8e62c482fdd7475551e737feec8
[C++] Fix a -Wdeprecated-copy warning. (#6708)

* Fix incorrect assertion usage.

* Fix a -Wdeprecated-copy warning.

Bug: chromium:1221591

* Just remove constructors/assignment
include/flatbuffers/flatbuffers.h