diff options
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/triplet.h | 2 | ||||
| -rw-r--r-- | toolsrc/include/vcpkglib_helpers.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/include/triplet.h b/toolsrc/include/triplet.h index 0c42f2ec7..23c1ea404 100644 --- a/toolsrc/include/triplet.h +++ b/toolsrc/include/triplet.h @@ -20,7 +20,7 @@ namespace vcpkg std::string system() const; - bool validate(const vcpkg_paths& paths); + bool validate(const vcpkg_paths& paths) const; }; bool operator==(const triplet& left, const triplet& right); diff --git a/toolsrc/include/vcpkglib_helpers.h b/toolsrc/include/vcpkglib_helpers.h index e15b59b0b..72711d63b 100644 --- a/toolsrc/include/vcpkglib_helpers.h +++ b/toolsrc/include/vcpkglib_helpers.h @@ -4,9 +4,9 @@ namespace vcpkg {namespace details { - void optional_field(const std::unordered_map<std::string, std::string>& fields, std::string& out, const std::string& fieldname); + std::string optional_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname); - void required_field(const std::unordered_map<std::string, std::string>& fields, std::string& out, const std::string& fieldname); + std::string required_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname); - void parse_depends(const std::string& depends_string, std::vector<std::string>& out); + std::vector<std::string> parse_depends(const std::string& depends_string); }} |
