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
###
###if(YAML_CPP_BUILD_TESTS)
### add_subdirectory(test)
###endif()
if(YAML_CPP_BUILD_TESTS)
add_subdirectory(test)
endif()
if(YAML_CPP_BUILD_TOOLS)
add_subdirectory(util)
endif()

View File

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