[Bug c++/59793] Warning to suggest making trivial non-virtual method inline

eugene.zelenko at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 28 18:58:00 GMT 2017


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

--- Comment #2 from Eugene Zelenko <eugene.zelenko at gmail dot com> ---
Something like that:

class Class
{
private:
  int Data;

public:
  int GetData() const;
};

int Class::GetData() const {
  return Data;
}


More information about the Gcc-bugs mailing list