Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile

This commit is contained in:
beder
2011-09-10 17:57:23 -05:00
parent 8fd372b0db
commit e905b74232
30 changed files with 387 additions and 364 deletions

View File

@@ -1,10 +1,10 @@
#include "yaml-cpp/value.h"
#include "yaml-cpp/yaml.h"
#include <map>
int main()
{
YAML::Value value = YAML::Parse("{foo: bar, monkey: value}");
std::cout << value << "\n";
YAML::Node node = YAML::Parse("{foo: bar, monkey: value}");
std::cout << node << "\n";
return 0;
}