CFastHeap is often implicitly converted to a pointer, but the corresponding type-conversion operator is missing, causing compiler errors.
There is an operator definition further up in the inheritance hierarchy. But CFastHeap uses private inheritance, so users of CFastHeap cannot access it.
A definition of the needed type-casting operator is added.
CFastHeap
is often implicitly converted to a pointer, but the corresponding type-conversion operator is missing, causing compiler errors. There is an operator definition further up in the inheritance hierarchy. ButCFastHeap
usesprivate
inheritance, so users ofCFastHeap
cannot access it. A definition of the needed type-casting operator is added.