mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Removed the document class (since it's really just a root node, and that's it).
This commit is contained in:
parent
2be40919de
commit
ed488e5197
7 changed files with 27 additions and 103 deletions
4
main.cpp
4
main.cpp
|
@ -72,11 +72,11 @@ int main()
|
|||
if(!parser)
|
||||
return 0;
|
||||
|
||||
YAML::Document doc;
|
||||
YAML::Node doc;
|
||||
parser.GetNextDocument(doc);
|
||||
|
||||
Level level;
|
||||
doc.GetRoot() >> level;
|
||||
doc >> level;
|
||||
std::cout << level;
|
||||
} catch(YAML::Exception&) {
|
||||
std::cout << "Error parsing the yaml!\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue