diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-22 18:02:38 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-22 18:02:38 +0100 |
commit | c95d1dd7f5ec48e4c6d622b57843aaa25528170b (patch) | |
tree | a41909087b62b68696ff84e630245fa1ceabe244 /gcc/cp/constraint.cc | |
parent | 808a6eadda1a353ce3a70556feac128580491b24 (diff) | |
download | gcc-c95d1dd7f5ec48e4c6d622b57843aaa25528170b.zip gcc-c95d1dd7f5ec48e4c6d622b57843aaa25528170b.tar.gz gcc-c95d1dd7f5ec48e4c6d622b57843aaa25528170b.tar.bz2 |
c++: Fix misuse of "override" in -Weffc++ warnings (PR 94698)
These warnings have nothing to do with virtual functions, so "override"
is inappropriate. The warnings are just talking about defining special
members, so let's say that.
PR translation/94698
* class.c (check_field_decls): Change "override" to "define" in
-Weffc++ diagnostics.
Diffstat (limited to 'gcc/cp/constraint.cc')
0 files changed, 0 insertions, 0 deletions