diff options
author | gusev-p <gusev-p@yandex-team.ru> | 2022-02-10 16:47:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:20 +0300 |
commit | 47af3b5bf148ddab250833ec454d30d7c4930c31 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /contrib/libs/yaml-cpp/include | |
parent | 1715700d00b30399d3648be821fd585ae552365e (diff) | |
download | ydb-47af3b5bf148ddab250833ec454d30d7c4930c31.tar.gz |
Restoring authorship annotation for <gusev-p@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/yaml-cpp/include')
-rw-r--r-- | contrib/libs/yaml-cpp/include/yaml-cpp/node/iterator.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/yaml-cpp/include/yaml-cpp/node/iterator.h b/contrib/libs/yaml-cpp/include/yaml-cpp/node/iterator.h index f4831a4335..6618169c53 100644 --- a/contrib/libs/yaml-cpp/include/yaml-cpp/node/iterator.h +++ b/contrib/libs/yaml-cpp/include/yaml-cpp/node/iterator.h @@ -17,21 +17,21 @@ namespace YAML { namespace detail { -struct node_pair: public std::pair<Node, Node> { - node_pair() = default; - node_pair(const Node& first, const Node& second) - : std::pair<Node, Node>(first, second) - { - } -}; - -struct iterator_value : public Node, node_pair { +struct node_pair: public std::pair<Node, Node> { + node_pair() = default; + node_pair(const Node& first, const Node& second) + : std::pair<Node, Node>(first, second) + { + } +}; + +struct iterator_value : public Node, node_pair { iterator_value() {} explicit iterator_value(const Node& rhs) : Node(rhs), - node_pair(Node(Node::ZombieNode), Node(Node::ZombieNode)) {} + node_pair(Node(Node::ZombieNode), Node(Node::ZombieNode)) {} explicit iterator_value(const Node& key, const Node& value) - : Node(Node::ZombieNode), node_pair(key, value) {} + : Node(Node::ZombieNode), node_pair(key, value) {} }; } } |