diff --git a/libs/core/config/cmake/templates/config_version.hpp.in b/libs/core/config/cmake/templates/config_version.hpp.in index a8f8e7bb48b7..b5093e37f8df 100644 --- a/libs/core/config/cmake/templates/config_version.hpp.in +++ b/libs/core/config/cmake/templates/config_version.hpp.in @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2023 Hartmut Kaiser +// Copyright (c) 2007-2024 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // Copyright (c) 2013 Adrian Serio // @@ -74,7 +74,7 @@ namespace hpx { /////////////////////////////////////////////////////////////////////////////// #if !defined(HPX_CORE_EXPORTS) && !defined(HPX_NO_VERSION_CHECK) -// This is instantiated for each translation unit outside of the HPX core +// This is instantiated for each translation unit outside the HPX core // library, forcing to resolve the variable HPX_CHECK_VERSION. namespace { // Note: this function is never executed. diff --git a/libs/core/version/src/version.cpp b/libs/core/version/src/version.cpp index 96d1662efdf2..c54c21e54919 100644 --- a/libs/core/version/src/version.cpp +++ b/libs/core/version/src/version.cpp @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Bryce Lelbach -// Copyright (c) 2011-2023 Hartmut Kaiser +// Copyright (c) 2011-2024 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying @@ -151,12 +151,12 @@ namespace hpx { std::string copyright() { - char const* const copyright = + constexpr char const* const copyright = "HPX - The C++ Standard Library for Parallelism and Concurrency\n" "(A general purpose parallel C++ runtime system for distributed " "applications\n" "of any scale).\n\n" - "Copyright (c) 2007-2023, The STE||AR Group,\n" + "Copyright (c) 2007-2024, The STE||AR Group,\n" "http://stellar-group.org, email:hpx-users@stellar-group.org\n\n" "Distributed under the Boost Software License, " "Version 1.0. (See accompanying\n" @@ -249,7 +249,7 @@ namespace hpx { for (auto const& e : c.config_entries) { - strm << " " << e << std::endl; + strm << " " << e << "\n"; } strm << "\n";