From f9fbdd308502d90ae880016136eeec00164a28e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9onard=20G=C3=A9rard?= <34161+leolchat@users.noreply.github.com> Date: Sat, 28 Apr 2018 19:57:12 -0700 Subject: [PATCH] Fix convert.h too --- include/yaml-cpp/node/convert.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/yaml-cpp/node/convert.h b/include/yaml-cpp/node/convert.h index 45a878a..2ffd27a 100644 --- a/include/yaml-cpp/node/convert.h +++ b/include/yaml-cpp/node/convert.h @@ -163,7 +163,7 @@ struct convert { // std::map template -struct convert> { +struct convert > { static Node encode(const std::map& rhs) { Node node(NodeType::Map); for (typename std::map::const_iterator it = rhs.begin(); @@ -190,7 +190,7 @@ struct convert> { // std::vector template -struct convert> { +struct convert > { static Node encode(const std::vector& rhs) { Node node(NodeType::Sequence); for (typename std::vector::const_iterator it = rhs.begin(); @@ -217,7 +217,7 @@ struct convert> { // std::list template -struct convert> { +struct convert > { static Node encode(const std::list& rhs) { Node node(NodeType::Sequence); for (typename std::list::const_iterator it = rhs.begin(); @@ -244,7 +244,7 @@ struct convert> { // std::array template -struct convert> { +struct convert > { static Node encode(const std::array& rhs) { Node node(NodeType::Sequence); for (const auto& element : rhs) { @@ -277,7 +277,7 @@ struct convert> { // std::pair template -struct convert> { +struct convert > { static Node encode(const std::pair& rhs) { Node node(NodeType::Sequence); node.push_back(rhs.first);