Added template parameter to convert struct to be able to use std::enable_if.
This commit is contained in:
parent
b43db54810
commit
2eb367adb5
@ -23,7 +23,7 @@
|
|||||||
namespace YAML {
|
namespace YAML {
|
||||||
class Binary;
|
class Binary;
|
||||||
struct _Null;
|
struct _Null;
|
||||||
template <typename T>
|
template <typename T, typename Enable>
|
||||||
struct convert;
|
struct convert;
|
||||||
} // namespace YAML
|
} // namespace YAML
|
||||||
|
|
||||||
|
|||||||
@ -138,7 +138,7 @@ YAML_CPP_API bool operator==(const Node& lhs, const Node& rhs);
|
|||||||
|
|
||||||
YAML_CPP_API Node Clone(const Node& node);
|
YAML_CPP_API Node Clone(const Node& node);
|
||||||
|
|
||||||
template <typename T>
|
template <typename T, typename Enable = void>
|
||||||
struct convert;
|
struct convert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user