mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
[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:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user