[openbeos] Re: Properties in GCC ?

  • From: "Manuel Jesus Petit de Gabriel" <freston@xxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Thu, 7 Feb 2002 18:11:29 -0800

> int property(void) { return mProperty;}

Probably you meant:

    int property(void) const { return mProperty; }


manuel,


> void property(int newVal) {mProperty=newVal;}
> 


Other related posts: