mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:49:09 +08:00
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:
parent
135f91de1e
commit
7e8cda8404
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user