a single copy of this exception is enough
This commit is contained in:
parent
5f5b183275
commit
6bd373fb8a
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user