OpenTrespasser / JurassicParkTrespasser

A git-based fork of the Jurassic Park: Trespasser source code.
98 stars 24 forks source link

CFastHeap: missing type-conversion operator #36

Closed meekee7 closed 4 years ago

meekee7 commented 4 years ago

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.