Skip to content

Commit d3eb808

Browse files
committed
Add missing return value to CVTFMHook::RemoveHook method
1 parent 21cfd11 commit d3eb808

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/dynlibutils/vthook.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,8 @@ class CVTFMHook : public CVTMHook<R, Args...>
463463
bool RemoveHook(CVirtualTable pVTable)
464464
{
465465
sm_vcallbacks(pVTable);
466-
RemoveHook(pVTable);
466+
467+
return RemoveHook(pVTable) != 0;
467468
}
468469

469470
void Clear()

0 commit comments

Comments
 (0)