aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-01-07 12:51:46 -0800
committerGitHub <noreply@github.com>2021-01-07 12:51:46 -0800
commitd1ef42c0fd7b9d5ac90be74df62b12e1184d02a1 (patch)
treeb99cc8fdf5271bc5b1413ba83cf972dbf1f9ec65 /toolsrc/include
parent9ddc9173d7858ddb40b2fc0cdc73b529c390ba47 (diff)
downloadvcpkg-d1ef42c0fd7b9d5ac90be74df62b12e1184d02a1.tar.gz
vcpkg-d1ef42c0fd7b9d5ac90be74df62b12e1184d02a1.zip
[vcpkg] Restore embedded git hash behind an option. (#15472)
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/commands.version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/commands.version.h b/toolsrc/include/vcpkg/commands.version.h
index 0f1717c74..4b05881ba 100644
--- a/toolsrc/include/vcpkg/commands.version.h
+++ b/toolsrc/include/vcpkg/commands.version.h
@@ -5,7 +5,7 @@
namespace vcpkg::Commands::Version
{
const char* base_version();
- const std::string& version();
+ const char* version();
void warn_if_vcpkg_version_mismatch(const VcpkgPaths& paths);
void perform_and_exit(const VcpkgCmdArguments& args, Files::Filesystem& fs);