aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yaml-cpp/src/node.cpp
blob: 2088e13c9aeb1bd9b2d5d7e83837955012a9cb3f (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();
}
}