aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yaml-cpp/src/node.cpp
blob: 34ccfa21776bac19d92d845fab65b12f0da8cb1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "yaml-cpp/node/node.h" 
#include "nodebuilder.h" 
#include "nodeevents.h" 
 
namespace YAML { 
Node Clone(const Node& node) { 
  NodeEvents events(node); 
  NodeBuilder builder; 
  events.Emit(builder); 
  return builder.Root(); 
} 
}