From 84ef06e35cfb65032937af0f7dd6f4b198e71e68 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 --- modules/beast_core/memory/SharedSingleton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/beast_core/memory/SharedSingleton.h b/modules/beast_core/memory/SharedSingleton.h index a14a146ef5..b46ad67620 100644 --- a/modules/beast_core/memory/SharedSingleton.h +++ b/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(); }