[clang-tidy] replace typedef with using (#886)

Found with modernize-use-using

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-06-15 13:27:08 -07:00
committed by GitHub
parent 33c9f6e062
commit 66171449d4
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@
class NullEventHandler : public YAML::EventHandler {
public:
typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t;
using Mark = YAML::Mark;
using anchor_t = YAML::anchor_t;
NullEventHandler() = default;

View File

@@ -6,8 +6,8 @@
class NullEventHandler : public YAML::EventHandler {
public:
typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t;
using Mark = YAML::Mark;
using anchor_t = YAML::anchor_t;
NullEventHandler() = default;