Skip to content

cppview pure virtual function call fixed #286

@ewuenf

Description

@ewuenf

I am not too deep into libusb, but the call to

freenect_close_device(...)

in

Freenect::FreenectDevice::~FreenectDevice()

causes the virtual function call. The easiest (and safest) way to fix this would be to make the the callbacks non-pure (whats the deal with pureness here anyway?), like this:

virtual void VideoCallback(void *video, uint32_t timestamp)
{
}

virtual void DepthCallback(void *depth, uint32_t timestamp)
{
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions