Address review comments

This commit is contained in:
Alan Griffiths 2020-04-09 16:48:50 +01:00
parent 6466935e72
commit dbd5ac0946
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ class DeepRecursion : public ParserException {
public:
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
int depth() const {

View File

@ -2,9 +2,9 @@
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_),
m_depth(at_depth) {
m_depth(depth) {
}
} // namespace YAML