diff options
author | Brad King <brad.king@kitware.com> | 2024-08-20 15:50:58 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-08-20 15:51:10 (GMT) |
commit | be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d (patch) | |
tree | f6c6734d47d1922173315e8e0a05bd6947724d4a /Source/CPack | |
parent | dfe196c7b1efb0a1c05ddefba4586cc8f52dc7dd (diff) | |
parent | 5b259985bfa4686de8096a339701162b6e80de5d (diff) | |
download | CMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.zip CMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.tar.gz CMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.tar.bz2 |
Merge topic 'optimize-stream-shift-operators'
5b259985bf Refactor: Optimize some `std::ostream::operator<<()` calls
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9717
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cpack.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 39a8e85..305ac56 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -583,7 +583,7 @@ int main(int argc, char const* const* argv) cmValue projVersionPatch = mf->GetDefinition("CPACK_PACKAGE_VERSION_PATCH"); std::ostringstream ostr; - ostr << *projVersionMajor << "." << *projVersionMinor << '.' + ostr << *projVersionMajor << '.' << *projVersionMinor << '.' << *projVersionPatch; mf->AddDefinition("CPACK_PACKAGE_VERSION", ostr.str()); } |