Began new-api branch, and removed all traces of the old api from this branch

This commit is contained in:
beder
2012-01-20 23:36:08 -06:00
parent 9403ac04fa
commit 90f48fd035
28 changed files with 9 additions and 4164 deletions

View File

@@ -1008,15 +1008,7 @@ namespace Test
if(output == desiredOutput) {
try {
#ifdef YAML_CPP_OLD_API
std::stringstream stream(output);
YAML::Parser parser;
YAML::Node node;
parser.GetNextDocument(node);
#else
YAML::Node node = YAML::Load(output);
#endif
passed++;
} catch(const YAML::Exception& e) {
std::cout << "Emitter test failed: " << name << "\n";