https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59793
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Eugene Zelenko from comment #2) > Something like that: > > class Class > { > private: > int Data; > > public: > int GetData() const; > }; > > int Class::GetData() const { > return Data; > } Thanks, confirmed that there's currently no warnings for this.