On Fri, Jan 20, 2017 at 6:25 PM, looncraz <looncraz@xxxxxxxxxxxx> wrote:
On 1/20/2017 08:53, Dario Casalinuovo wrote:
Even if the return type doesn't affect the binary so the function is
found correctly, the bebook states BArchivable::Instantiate should always
return a BArchivable* object.
DeskbarShelfView *IS* a BArchivable via the magic of inheritance
(BView:BHandler:BArchivable, IIRC).
Returning a non-BArchivable object would cause problems aplenty