depthguard.cpp 218 Bytes
Newer Older
Alan Griffiths's avatar
Alan Griffiths committed
1
2
3
4
5
6
7
8
9
10
#include "yaml-cpp/depthguard.h"

namespace YAML {

DeepRecursion::DeepRecursion(int depth, const Mark& mark_, const std::string& msg_)
    : ParserException(mark_, msg_),
      m_depth(depth) {
}

} // namespace YAML