Closed theod closed 9 years ago
but it seems I need to make this method as a const method and so I need TTList::getSize() too also be const. why TTList::getSize() is not const @tap ?
It probably isn't const because someone (probably me) forgot to add that when I wrote this code 10 years ago? :-)
For correct English grammar (if that matters) it should be called getObserverCount() instead of getObserversCount() -- no 's'. Cheers!
Tim
On Mon, Nov 17, 2014 at 10:21 AM, theod notifications@github.com wrote:
but it seems I need to make this method as a const method and so I need TTList::getSize() too also be const. why TTList::getSize() is not const ?
— Reply to this email directly or view it on GitHub https://github.com/jamoma/JamomaCore/issues/318#issuecomment-63329954.
ok fine ! thanks for improving my english grammar :-)
done !
For the moment I have added those lines to TTObjecBase.h
TTUInt32 getObserversCount() {return observers.getSize();}
Is it ok for you @tap ?