diff --git a/Source/cmJSONHelpers.h b/Source/cmJSONHelpers.h index ef94c14e4b..0bb32f4c61 100644 --- a/Source/cmJSONHelpers.h +++ b/Source/cmJSONHelpers.h @@ -34,9 +34,11 @@ enum ObjectError ExtraField, MissingRequired }; + using ErrorGenerator = std::function; using ObjectErrorGenerator = std::function; + ErrorGenerator EXPECTED_TYPE(const std::string& type); void INVALID_STRING(const Json::Value* value, cmJSONState* state);