Skip to content

Commit

Permalink
fixed cmake_fetch_content_test to support v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fktn-k committed Oct 15, 2023
1 parent eace317 commit 2253217
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/cmake_fetch_content_test/project/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@

#include <iostream>

#include <fkYAML/Node.hpp>
#include <fkYAML/Deserializer.hpp>
#include <fkYAML/node.hpp>

int main()
{
// NOTE: API signatures must remain old until v0.1.0 release.
fkyaml::Deserializer deserializer;
fkyaml::Node node = deserializer.Deserialize("test: true");
fkyaml::node node = fkyaml::node::deserialize("test: true");

std::cout << "test: " << node["test"].ToString() << std::endl;
std::cout << "test: " << node["test"].to_string() << std::endl;

return 0;
}

0 comments on commit 2253217

Please sign in to comment.