From 6466935e7243ae171d18e88781cb9777dbffa609 Mon Sep 17 00:00:00 2001 From: Alan Griffiths Date: Thu, 9 Apr 2020 10:36:08 +0100 Subject: [PATCH] Address review comments --- include/yaml-cpp/depthguard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;