From 1292650a8f8f7d26a6748728ef814cc20f98542e 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:51:34 -0700 Subject: [PATCH] Fix clang error: a space is required between '>>' Full error: a space is required between consecutive right angle brackets (use '> >') --- include/yaml-cpp/exceptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/yaml-cpp/exceptions.h b/include/yaml-cpp/exceptions.h index 9c96859..364c0c5 100644 --- a/include/yaml-cpp/exceptions.h +++ b/include/yaml-cpp/exceptions.h @@ -97,7 +97,7 @@ const char* const BAD_FILE = "bad file"; template inline const std::string KEY_NOT_FOUND_WITH_KEY( - const T&, typename disable_if>::type* = 0) { + const T&, typename disable_if >::type* = 0) { return KEY_NOT_FOUND; } @@ -109,7 +109,7 @@ inline const std::string KEY_NOT_FOUND_WITH_KEY(const std::string& key) { template inline const std::string KEY_NOT_FOUND_WITH_KEY( - const T& key, typename enable_if>::type* = 0) { + const T& key, typename enable_if >::type* = 0) { std::stringstream stream; stream << KEY_NOT_FOUND << ": " << key; return stream.str();