From e181ebc3b31b15a70309a5c4d15877b1634f21e4 Mon Sep 17 00:00:00 2001 From: raydan Date: Sun, 17 Feb 2013 22:05:24 -0500 Subject: [PATCH] Added missing virtual dtor to CFunctor (bug 5615, r=psychonic). --- public/tier1/functors.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/tier1/functors.h b/public/tier1/functors.h index 7e2964fc..213cbfca 100644 --- a/public/tier1/functors.h +++ b/public/tier1/functors.h @@ -262,6 +262,9 @@ public: m_nUserID = 0; #endif } + + virtual ~CFunctor() {} + virtual void operator()() = 0; unsigned m_nUserID; // For debugging