mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-16 23:22:13 +01:00
Change typedefs to using
This commit is contained in:
@@ -14,11 +14,10 @@
|
||||
#include "catch_interfaces_registry_hub.h"
|
||||
|
||||
namespace Catch {
|
||||
|
||||
typedef std::string(*exceptionTranslateFunction)();
|
||||
using exceptionTranslateFunction = std::string(*)();
|
||||
|
||||
struct IExceptionTranslator;
|
||||
typedef std::vector<std::unique_ptr<IExceptionTranslator const>> ExceptionTranslators;
|
||||
using ExceptionTranslators = std::vector<std::unique_ptr<IExceptionTranslator const>>;
|
||||
|
||||
struct IExceptionTranslator {
|
||||
virtual ~IExceptionTranslator();
|
||||
|
||||
Reference in New Issue
Block a user