aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosidorkin <osidorkin@yandex-team.com>2023-03-23 19:00:39 +0300
committerosidorkin <osidorkin@yandex-team.com>2023-03-23 19:00:39 +0300
commit9651b8fa0ffec22fd8adc9c5418593c1bd6d6778 (patch)
tree5e93d26f9010369ca06de1c2dd7658df57a9b97b
parent6321e25841fc751c1dd05a9ea1c65d00b712c2d6 (diff)
downloadydb-9651b8fa0ffec22fd8adc9c5418593c1bd6d6778.tar.gz
Follow up to rXXXXXX: Fix builds on MACs that are not in autоbuild
https://paste.yandex-team.ru/804bf63f-d433-481e-945b-b555fb15be21 не светилось на CI'ных сборках. Разбираться с автосборкой будут в
-rw-r--r--util/string/cast.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/string/cast.h b/util/string/cast.h
index d09fe0401c..b2ebce9a88 100644
--- a/util/string/cast.h
+++ b/util/string/cast.h
@@ -391,9 +391,8 @@ template <typename T, unsigned base = 10, class TChar = char>
class TIntStringBuf {
private:
// inline constexprs are not supported by CUDA yet
- static constexpr char IntToChar[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
+ static constexpr char IntToChar[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
- static_assert(Y_ARRAY_SIZE(IntToChar) == 16, "expect Y_ARRAY_SIZE(IntToChar) == 16");
static_assert(1 < base && base < 17, "expect 1 < base && base < 17");
public: