Skip to content

Commit

Permalink
Fix TFixedHeapClass::Free not returning a value
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Mar 20, 2024
1 parent ffd4077 commit 3eb8ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiberiandawn/heap.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ template <class T> class TFixedHeapClass : public FixedHeapClass
};
virtual int Free(T* pointer)
{
FixedHeapClass::Free(pointer);
return FixedHeapClass::Free(pointer);
};

protected:
Expand Down

0 comments on commit 3eb8ae7

Please sign in to comment.