We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 383a746 commit fcb91a2Copy full SHA for fcb91a2
1 file changed
src/iceberg/util/url_encoder.cc
@@ -41,7 +41,7 @@ constexpr int8_t FromHex(char c) {
41
} // namespace
42
43
std::string UrlEncoder::Encode(std::string_view str_to_encode) {
44
- static const char* hex_chars = "0123456789ABCDEF";
+ static const char* kHexChars = "0123456789ABCDEF";
45
std::string result;
46
result.reserve(str_to_encode.size() * 3 / 2 /* Heuristic reservation */);
47
@@ -50,8 +50,8 @@ std::string UrlEncoder::Encode(std::string_view str_to_encode) {
50
result += c;
51
} else {
52
result += '%';
53
- result += hex_chars[c >> 4];
54
- result += hex_chars[c & 0xF];
+ result += kHexChars[c >> 4];
+ result += kHexChars[c & 0xF];
55
}
56
57
0 commit comments