Michael Sweet wrote:
> Albrecht Schlosser wrote:
>> So here is my vote:
>>
>> +1 for making Fl_Shared_Image::copy() return Fl_Shared_Image*.
> 
> -1, since you can't overload the return type of virtual methods.

Okay, I did't see that aspect, you and Fa convinced me ;-)

I officially take my request to change it back, no more votes needed.

>  > ...
>> Fl_Shared_Image::refcount() should *REALLY* be private or at least
>> protected! This would prevent code like this:
>> ...
>> My vote:
>>
>> +1 for making refcount() private.
> 
> If anything it needs to be protected so that subclasses can access
> the count.

Okay, too, then I vote for protected.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to