https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98951

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>:

https://gcc.gnu.org/g:b52a1dfe12a6303c7649f3ff5b8dac6c1001d49a

commit r11-7090-gb52a1dfe12a6303c7649f3ff5b8dac6c1001d49a
Author: Marek Polacek <pola...@redhat.com>
Date:   Wed Feb 3 11:58:13 2021 -0500

    c++: Mark member functions as const [PR98951]

    These member functions look like they could be marked const, since
    they don't modify any (non-mutable) class members.

            PR c++/98951
            * call.c (struct z_candidate): Mark rewritten and reversed as
const.
            (struct NonPublicField): Mark operator() as const.
            (struct NonTrivialField): Likewise.

Reply via email to