diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-07-01 12:16:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-01 12:16:32 -0700 |
| commit | 7e8cda8404241b06a3af150f5bf66672dc816172 (patch) | |
| tree | 4f8a359c4c46d66eec1fe3b98a04643215ed3c29 /toolsrc/src | |
| parent | 135f91de1eef9e906eb7a5bcf323f6eff9a2b5da (diff) | |
| download | vcpkg-7e8cda8404241b06a3af150f5bf66672dc816172.tar.gz vcpkg-7e8cda8404241b06a3af150f5bf66672dc816172.zip | |
Fix sourceparagraph:BooleanField (#12192)
the function is called `visit_boolean`, not `visit_bool`.
I wish there was a better way to do this.
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg/sourceparagraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/sourceparagraph.cpp b/toolsrc/src/vcpkg/sourceparagraph.cpp index 74ef2f9e1..467a1236a 100644 --- a/toolsrc/src/vcpkg/sourceparagraph.cpp +++ b/toolsrc/src/vcpkg/sourceparagraph.cpp @@ -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 |
