mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08: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;
|
|
}
|