Skip to content

Commit b591d8a

Browse files
authored
Update node impl.h for GCC unused variable warning (#981)
Removed the variable name in the defaulted function to make GCC happy.
1 parent 0579ae3 commit b591d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/yaml-cpp/node/impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ inline Node::Node(const detail::iterator_value& rhs)
4242
m_pMemory(rhs.m_pMemory),
4343
m_pNode(rhs.m_pNode) {}
4444

45-
inline Node::Node(const Node& rhs) = default;
45+
inline Node::Node(const Node&) = default;
4646

4747
inline Node::Node(Zombie)
4848
: m_isValid(false), m_invalidKey{}, m_pMemory{}, m_pNode(nullptr) {}

0 commit comments

Comments
 (0)