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);