Address review comments
This commit is contained in:
parent
544d8b7cfa
commit
6466935e72
@ -46,7 +46,7 @@ private:
|
|||||||
* compile-time configurable maximum depth.
|
* compile-time configurable maximum depth.
|
||||||
*/
|
*/
|
||||||
template <int max_depth = 2000>
|
template <int max_depth = 2000>
|
||||||
class DepthGuard final /* final because non-virtual dtor */ {
|
class DepthGuard final {
|
||||||
public:
|
public:
|
||||||
DepthGuard(int & depth_, const Mark& mark_, const std::string& msg_) : m_depth(depth_) {
|
DepthGuard(int & depth_, const Mark& mark_, const std::string& msg_) : m_depth(depth_) {
|
||||||
++m_depth;
|
++m_depth;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user