diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 21:42:03 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 21:42:03 -0800 |
| commit | 192087563d08d659c219700358803c748a71f72e (patch) | |
| tree | 42001b6b353c31cc10acf27a8c0f4728911caa2a /toolsrc/src | |
| parent | 7eb0095094f62719d9f28c694d2bd6b3d003f090 (diff) | |
| download | vcpkg-192087563d08d659c219700358803c748a71f72e.tar.gz vcpkg-192087563d08d659c219700358803c748a71f72e.zip | |
Join declaration and assignment. Add const
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg/build.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg/build.cpp b/toolsrc/src/vcpkg/build.cpp index ca0712a06..b0ca3501b 100644 --- a/toolsrc/src/vcpkg/build.cpp +++ b/toolsrc/src/vcpkg/build.cpp @@ -317,9 +317,8 @@ namespace vcpkg::Build {"FEATURES", features}, }); - std::string command; const auto cmd_set_environment = make_build_env_cmd(pre_build_info, toolset); - command = Strings::format(R"(%s && %s)", cmd_set_environment, cmd_launch_cmake); + const std::string command = Strings::format(R"(%s && %s)", cmd_set_environment, cmd_launch_cmake); const auto timer = Chrono::ElapsedTime::create_started(); |
