aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 19:38:02 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 19:38:02 -0800
commitb666e90c32e58a673331b303e64e299cc1168aa2 (patch)
treee6c18e42ea0f7073cc08b93892dd1a918cfdae8d /toolsrc/include
parentfdec39f452df368a0dd9184cd556607857605832 (diff)
downloadvcpkg-b666e90c32e58a673331b303e64e299cc1168aa2.tar.gz
vcpkg-b666e90c32e58a673331b303e64e299cc1168aa2.zip
Pass by ref
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Files.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Files.h b/toolsrc/include/vcpkg_Files.h
index 5e788f7be..b0a9747bf 100644
--- a/toolsrc/include/vcpkg_Files.h
+++ b/toolsrc/include/vcpkg_Files.h
@@ -10,7 +10,7 @@ namespace vcpkg {namespace Files
void check_is_directory(const fs::path& dirpath);
- bool has_invalid_chars_for_filesystem(const std::string s);
+ bool has_invalid_chars_for_filesystem(const std::string& s);
expected<std::string> get_contents(const fs::path& file_path) noexcept;