From b591d8ae2ad1ff373273c3e05973adf6c46abfa8 Mon Sep 17 00:00:00 2001 From: JBPennington Date: Sat, 10 Jul 2021 09:07:12 -0700 Subject: [PATCH] Update node impl.h for GCC unused variable warning (#981) Removed the variable name in the defaulted function to make GCC happy. --- include/yaml-cpp/node/impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/yaml-cpp/node/impl.h b/include/yaml-cpp/node/impl.h index 97dc282..312281f 100644 --- a/include/yaml-cpp/node/impl.h +++ b/include/yaml-cpp/node/impl.h @@ -42,7 +42,7 @@ inline Node::Node(const detail::iterator_value& rhs) m_pMemory(rhs.m_pMemory), m_pNode(rhs.m_pNode) {} -inline Node::Node(const Node& rhs) = default; +inline Node::Node(const Node&) = default; inline Node::Node(Zombie) : m_isValid(false), m_invalidKey{}, m_pMemory{}, m_pNode(nullptr) {}