renamed hub -> context

(also did some reformatting)
This commit is contained in:
Phil Nash
2012-05-10 07:58:48 +01:00
parent aec1e5ed86
commit 5ec53b2788
19 changed files with 146 additions and 225 deletions

View File

@@ -77,7 +77,7 @@ namespace Catch
std::string(*translateFunction)( T& )
)
{
Catch::Hub::getExceptionTranslatorRegistry().registerTranslator
Catch::Context::getExceptionTranslatorRegistry().registerTranslator
( new ExceptionTranslator<T>( translateFunction ) );
}
};