mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Fixed the #ifdefs for the api stuff
This commit is contained in:
@@ -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