Address review comments
This commit is contained in:
parent
6466935e72
commit
dbd5ac0946
@ -23,7 +23,7 @@ class DeepRecursion : public ParserException {
|
|||||||
public:
|
public:
|
||||||
virtual ~DeepRecursion() = default;
|
virtual ~DeepRecursion() = default;
|
||||||
|
|
||||||
DeepRecursion(int at_depth, const Mark& mark_, const std::string& msg_);
|
DeepRecursion(int depth, const Mark& mark_, const std::string& msg_);
|
||||||
|
|
||||||
// Returns the recursion depth when the exception was thrown
|
// Returns the recursion depth when the exception was thrown
|
||||||
int depth() const {
|
int depth() const {
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace YAML {
|
namespace YAML {
|
||||||
|
|
||||||
DeepRecursion::DeepRecursion(int at_depth, const Mark& mark_, const std::string& msg_)
|
DeepRecursion::DeepRecursion(int depth, const Mark& mark_, const std::string& msg_)
|
||||||
: ParserException(mark_, msg_),
|
: ParserException(mark_, msg_),
|
||||||
m_depth(at_depth) {
|
m_depth(depth) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace YAML
|
} // namespace YAML
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user