Mercurial > hg > piper-cpp
changeset 230:d96981c06e62
Small tidy
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 13 Jun 2017 08:41:57 +0100 |
parents | d54dab075247 |
children | 8fd9da17f951 |
files | vamp-json/VampJson.h |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/vamp-json/VampJson.h Mon Jun 12 10:20:25 2017 +0100 +++ b/vamp-json/VampJson.h Tue Jun 13 08:41:57 2017 +0100 @@ -653,6 +653,7 @@ } else if (!j["rights"].is_null() && !j["rights"].is_string()) { + err = "string expected for rights"; } else if (!j["category"].is_null() && @@ -675,11 +676,6 @@ err = "string expected for inputDomain"; - } else if (!j["basicOutputInfo"].is_null() && - !j["basicOutputInfo"].is_array()) { - - err = "array expected for basicOutputInfo"; - } else if (!j["staticOutputInfo"].is_null() && !j["staticOutputInfo"].is_object()) {