mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-24 20:25:32 -04:00
Fixed the #ifdefs for the api stuff
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ public:
|
||||
void parse(std::istream& input)
|
||||
{
|
||||
try {
|
||||
#if YAML_CPP_OLD_API
|
||||
#ifdef YAML_CPP_OLD_API
|
||||
YAML::Parser parser(input);
|
||||
YAML::Node doc;
|
||||
while(parser.GetNextDocument(doc)) {
|
||||
|
||||
Reference in New Issue
Block a user