diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-16 22:35:50 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-16 22:43:57 +0300 |
commit | 2fcc3532d5bfd8ccb3fb5b884088c01376c7888d (patch) | |
tree | 9040d37b083ba19eed43ffa2dbefcf6b4c70d093 /library/cpp/netliba/v6/ib_low.h | |
parent | 4216b16bbaa20122c440773c8360527e846305cc (diff) | |
download | ydb-2fcc3532d5bfd8ccb3fb5b884088c01376c7888d.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/netliba/v6/ib_low.h')
-rw-r--r-- | library/cpp/netliba/v6/ib_low.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/netliba/v6/ib_low.h b/library/cpp/netliba/v6/ib_low.h index 42e11ed941..f75f1e5379 100644 --- a/library/cpp/netliba/v6/ib_low.h +++ b/library/cpp/netliba/v6/ib_low.h @@ -69,9 +69,9 @@ namespace NNetliba { int Port; int LID; TIntrusivePtr<TIBContext> IBCtx; - enum { - MAX_GID = 16 - }; + + static constexpr int MAX_GID = 16; + ibv_gid MyGidArr[MAX_GID]; public: |