a single copy of this exception is enough

This commit is contained in:
marcel 2021-04-30 09:12:31 +02:00
parent 5f5b183275
commit 6bd373fb8a

View File

@ -25,27 +25,12 @@
#include "yaml-cpp/null.h" #include "yaml-cpp/null.h"
namespace YAML{
namespace conversion{
namespace exception{
class DecodeException : public std::runtime_error {
using runtime_error::runtime_error;
};
}
}
}
namespace YAML { namespace YAML {
class Binary; class Binary;
struct _Null; struct _Null;
template <typename T> template <typename T>
struct convert { struct convert;
using this_type = T;
};
} // namespace YAML } // namespace YAML
#define BAD_DECODE_EXCEPTION throw YAML::conversion::DecodeException(); #define BAD_DECODE_EXCEPTION throw YAML::conversion::DecodeException();