diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:34:56 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | c9325cea0aa43f328644157dee4eafe3d7b45e6f (patch) | |
tree | 7c688b9cfd8acf45771193f41d69639f9a47dfab /src/utils/cpp/hex_string.hpp | |
parent | 0e024eb055e6e8272f419e898ae9eefd0085c34f (diff) | |
download | justbuild-c9325cea0aa43f328644157dee4eafe3d7b45e6f.tar.gz |
Name local variables using lower_case
...and private members using lower_case_
Diffstat (limited to 'src/utils/cpp/hex_string.hpp')
-rw-r--r-- | src/utils/cpp/hex_string.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpp/hex_string.hpp b/src/utils/cpp/hex_string.hpp index 4b0124c4..5cca094a 100644 --- a/src/utils/cpp/hex_string.hpp +++ b/src/utils/cpp/hex_string.hpp @@ -44,7 +44,7 @@ [[nodiscard]] static inline auto FromHexString(std::string const& hexstring) -> std::optional<std::string> { try { - const std::size_t kHexBase = 16; + static constexpr std::size_t kHexBase = 16; std::stringstream ss{}; for (std::size_t i = 0; i < hexstring.length(); i += 2) { unsigned char c = |