Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0adf848 authored by Andreas Huber's avatar Andreas Huber
Browse files

Make MemoryDealer's destructor protected instead of public.

MemoryDealer, like all other subclasses of RefBase,MUST NOT BE stack-allocated, a protected destructor prohibits stack-allocation while allowing the baseclass to properly invoke the subclass' destructor once the refcount drops to 0.
parent 7151edd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment