Fix sourceparagraph:BooleanField (#12192)

the function is called `visit_boolean`, not `visit_bool`.
I wish there was a better way to do this.
This commit is contained in:
nicole mazzuca 2020-07-01 12:16:32 -07:00 committed by GitHub
parent 135f91de1e
commit 7e8cda8404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,7 @@ namespace vcpkg
using type = bool;
StringView type_name() { return "a boolean"; }
Optional<bool> visit_bool(Json::Reader&, StringView, bool b) { return b; }
Optional<bool> visit_boolean(Json::Reader&, StringView, bool b) { return b; }
};
enum class AllowEmpty : bool