mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00

This is in preparation for other patches that will make use of the macro. The patch also removes #undef:ing the macro after its been used to not make the header inclusion order critical. Otherwise, the new header would always have to be the last of the yaml-cpp headers to be included.
21 lines
949 B
C++
21 lines
949 B
C++
#include "yaml-cpp/exceptions.h"
|
|
#include "yaml-cpp/noexcept.h"
|
|
|
|
namespace YAML {
|
|
|
|
// These destructors are defined out-of-line so the vtable is only emitted once.
|
|
Exception::~Exception() YAML_CPP_NOEXCEPT = default;
|
|
ParserException::~ParserException() YAML_CPP_NOEXCEPT = default;
|
|
RepresentationException::~RepresentationException() YAML_CPP_NOEXCEPT = default;
|
|
InvalidScalar::~InvalidScalar() YAML_CPP_NOEXCEPT = default;
|
|
KeyNotFound::~KeyNotFound() YAML_CPP_NOEXCEPT = default;
|
|
InvalidNode::~InvalidNode() YAML_CPP_NOEXCEPT = default;
|
|
BadConversion::~BadConversion() YAML_CPP_NOEXCEPT = default;
|
|
BadDereference::~BadDereference() YAML_CPP_NOEXCEPT = default;
|
|
BadSubscript::~BadSubscript() YAML_CPP_NOEXCEPT = default;
|
|
BadPushback::~BadPushback() YAML_CPP_NOEXCEPT = default;
|
|
BadInsert::~BadInsert() YAML_CPP_NOEXCEPT = default;
|
|
EmitterException::~EmitterException() YAML_CPP_NOEXCEPT = default;
|
|
BadFile::~BadFile() YAML_CPP_NOEXCEPT = default;
|
|
}
|