diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2024-08-19 15:42:31 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2024-08-19 15:42:31 (GMT) |
commit | 5b259985bfa4686de8096a339701162b6e80de5d (patch) | |
tree | d901b2c811848f6bf4f234bdf4f19c0389b0ff31 /Source/CPack | |
parent | 8fae37d99fb3a27c40cd2f5271b92e3f99c3dcd6 (diff) | |
download | CMake-5b259985bfa4686de8096a339701162b6e80de5d.zip CMake-5b259985bfa4686de8096a339701162b6e80de5d.tar.gz CMake-5b259985bfa4686de8096a339701162b6e80de5d.tar.bz2 |
Refactor: Optimize some `std::ostream::operator<<()` calls
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()); } |