diff --git a/include/yaml-cpp/depthguard.h b/include/yaml-cpp/depthguard.h index 152cf78..353fcab 100644 --- a/include/yaml-cpp/depthguard.h +++ b/include/yaml-cpp/depthguard.h @@ -46,7 +46,7 @@ private: * compile-time configurable maximum depth. */ template -class DepthGuard final /* final because non-virtual dtor */ { +class DepthGuard final { public: DepthGuard(int & depth_, const Mark& mark_, const std::string& msg_) : m_depth(depth_) { ++m_depth;