mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
15 lines
227 B
C++
15 lines
227 B
C++
#include <string>
|
|
#include <vector>
|
|
|
|
#include <yaml-cpp/yaml.h>
|
|
|
|
#include "misc.h"
|
|
|
|
YAML::Node vectorToNode(string_array data)
|
|
{
|
|
YAML::Node node;
|
|
for(std::string &x : data)
|
|
node.push_back(x);
|
|
return node;
|
|
}
|