diff --git a/modules/beast_core/diagnostic/beast_ProtectedCall.cpp b/modules/beast_core/diagnostic/beast_ProtectedCall.cpp index e14c5bce1..b5b7c1907 100644 --- a/modules/beast_core/diagnostic/beast_ProtectedCall.cpp +++ b/modules/beast_core/diagnostic/beast_ProtectedCall.cpp @@ -291,7 +291,7 @@ void ProtectedCall::setHandler (Handler const& handler) void ProtectedCall::call (Call& c) { - static DefaultHandler const defaultHandler; + static DefaultHandler defaultHandler; Handler const* handler = s_handler->get ();