From 6bd373fb8af53bf4516ed556a7c8ad4274356954 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 30 Apr 2021 09:12:31 +0200 Subject: [PATCH] a single copy of this exception is enough --- include/yaml-cpp/node/convert.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/include/yaml-cpp/node/convert.h b/include/yaml-cpp/node/convert.h index 9d22c74..5a07b6e 100644 --- a/include/yaml-cpp/node/convert.h +++ b/include/yaml-cpp/node/convert.h @@ -25,27 +25,12 @@ #include "yaml-cpp/null.h" - -namespace YAML{ -namespace conversion{ -namespace exception{ -class DecodeException : public std::runtime_error { - using runtime_error::runtime_error; -}; -} -} -} - - - namespace YAML { class Binary; struct _Null; template -struct convert { - using this_type = T; -}; +struct convert; } // namespace YAML #define BAD_DECODE_EXCEPTION throw YAML::conversion::DecodeException();