mirror of
				https://github.com/asdlokj1qpi233/subconverter.git
				synced 2025-10-31 05:42:31 +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;
 | |
| }
 |