mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 21:29:54 +01:00
Change typedefs to using
This commit is contained in:
parent
33fd54a673
commit
307eeefa8f
@ -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();
|
||||
|
@ -104,7 +104,7 @@ namespace TestCaseTracking {
|
||||
bool operator ()( ITrackerPtr const& tracker ) const;
|
||||
};
|
||||
|
||||
typedef std::vector<ITrackerPtr> Children;
|
||||
using Children = std::vector<ITrackerPtr>;
|
||||
NameAndLocation m_nameAndLocation;
|
||||
TrackerContext& m_ctx;
|
||||
ITracker* m_parent;
|
||||
|
@ -10,7 +10,7 @@
|
||||
namespace Catch {
|
||||
|
||||
class MultipleReporters : public IStreamingReporter {
|
||||
typedef std::vector<IStreamingReporterPtr> Reporters;
|
||||
using Reporters = std::vector<IStreamingReporterPtr>;
|
||||
Reporters m_reporters;
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user