modify unsuitable code

This commit is contained in:
star 2018-05-03 00:11:33 +08:00
parent b67425536e
commit 1018c83fc5
2 changed files with 7 additions and 7 deletions

View File

@ -350,9 +350,9 @@ endif()
### ###
### Extras ### Extras
### ###
###if(YAML_CPP_BUILD_TESTS) if(YAML_CPP_BUILD_TESTS)
### add_subdirectory(test) add_subdirectory(test)
###endif() endif()
if(YAML_CPP_BUILD_TOOLS) if(YAML_CPP_BUILD_TOOLS)
add_subdirectory(util) add_subdirectory(util)
endif() endif()

View File

@ -16,10 +16,10 @@ int main(){
//root[3] = 324; //root[3] = 324;
root[0] = 'f'; root[0] = 'h';
root[1] = 'u'; root[1] = 'e';
root[2] = 'c'; root[2] = 'l';
root[3] = 'k'; root[3] = 'o';
if(root.IsSequence()){ if(root.IsSequence()){