Skip to content

Commit d4d783b

Browse files
committed
Fix compilation error.
1 parent 68aa84f commit d4d783b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • include/yaml-cpp/node/detail

include/yaml-cpp/node/detail/node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class node : private boost::noncopyable {
116116
inline node* GetValueFromMergeKey(const Key& key, node* currentValue,
117117
shared_memory_holder pMemory) const {
118118
node* mergeValue =
119-
static_cast<const node_ref&>(*m_pRef).get(to_value("<<"), pMemory);
119+
static_cast<const node_ref&>(*m_pRef).get(std::string("<<"), pMemory);
120120
if (mergeValue) {
121121
if (mergeValue->type() == NodeType::Map) {
122122
return &mergeValue->get(key, pMemory);

0 commit comments

Comments
 (0)