From 2eb367adb543598121686edd3bc6fa81472b93f8 Mon Sep 17 00:00:00 2001 From: Tim Ohliger Date: Fri, 8 May 2015 13:57:52 +0200 Subject: [PATCH] Added template parameter to convert struct to be able to use std::enable_if. --- include/yaml-cpp/node/convert.h | 2 +- include/yaml-cpp/node/node.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/yaml-cpp/node/convert.h b/include/yaml-cpp/node/convert.h index cbd3189..cf7492f 100644 --- a/include/yaml-cpp/node/convert.h +++ b/include/yaml-cpp/node/convert.h @@ -23,7 +23,7 @@ namespace YAML { class Binary; struct _Null; -template +template struct convert; } // namespace YAML diff --git a/include/yaml-cpp/node/node.h b/include/yaml-cpp/node/node.h index 4ec3543..de44ad4 100644 --- a/include/yaml-cpp/node/node.h +++ b/include/yaml-cpp/node/node.h @@ -138,7 +138,7 @@ YAML_CPP_API bool operator==(const Node& lhs, const Node& rhs); YAML_CPP_API Node Clone(const Node& node); -template +template struct convert; }