diff --git a/include/internal/catch_context_impl.hpp b/include/internal/catch_context_impl.hpp index 3c992016..418f330b 100644 --- a/include/internal/catch_context_impl.hpp +++ b/include/internal/catch_context_impl.hpp @@ -18,12 +18,12 @@ namespace Catch { namespace { - Context* currentHub = NULL; + Context* currentContext = NULL; } IMutableContext& getCurrentMutableContext() { - if( !currentHub ) - currentHub = new Context(); - return *currentHub; + if( !currentContext ) + currentContext = new Context(); + return *currentContext; } IContext& getCurrentContext() { return getCurrentMutableContext(); @@ -36,8 +36,8 @@ namespace Catch { {} void Context::cleanUp() { - delete currentHub; - currentHub = NULL; + delete currentContext; + currentContext = NULL; } void Context::setRunner( IRunner* runner ) {