mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
renamed hub -> context
(also did some reformatting)
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Catch
|
||||
std::string(*translateFunction)( T& )
|
||||
)
|
||||
{
|
||||
Catch::Hub::getExceptionTranslatorRegistry().registerTranslator
|
||||
Catch::Context::getExceptionTranslatorRegistry().registerTranslator
|
||||
( new ExceptionTranslator<T>( translateFunction ) );
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user