From 8c1c7b48bba76ece06387fb6160af69ffd28ecf6 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 12 Sep 2013 06:59:55 -0700 Subject: [PATCH] Fix ExitHook to derive from AtExitHook --- src/beast/modules/beast_core/memory/SharedSingleton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/beast/modules/beast_core/memory/SharedSingleton.h b/src/beast/modules/beast_core/memory/SharedSingleton.h index a14a146ef..b46ad6762 100644 --- a/src/beast/modules/beast_core/memory/SharedSingleton.h +++ b/src/beast/modules/beast_core/memory/SharedSingleton.h @@ -145,7 +145,7 @@ private: typedef SpinLock LockType; - class ExitHook + class ExitHook : public PerformedAtExit { public: explicit ExitHook (SharedSingleton* owner) @@ -153,7 +153,7 @@ private: { } - void performaAtExit () + void performAtExit () { m_owner->performAtExit(); }