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"
namespace YAML{
namespace conversion{
namespace exception{
class DecodeException : public std::runtime_error {
using runtime_error::runtime_error;
};
}
}
}
namespace YAML {
class Binary;
struct _Null;
template <typename T>
struct convert {
using this_type = T;
};
struct convert;
} // namespace YAML
#define BAD_DECODE_EXCEPTION throw YAML::conversion::DecodeException();