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_test.cpp | |
parent | 4216b16bbaa20122c440773c8360527e846305cc (diff) | |
download | ydb-2fcc3532d5bfd8ccb3fb5b884088c01376c7888d.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/netliba/v6/ib_test.cpp')
-rw-r--r-- | library/cpp/netliba/v6/ib_test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/cpp/netliba/v6/ib_test.cpp b/library/cpp/netliba/v6/ib_test.cpp index 178691e837..8d1c825a24 100644 --- a/library/cpp/netliba/v6/ib_test.cpp +++ b/library/cpp/netliba/v6/ib_test.cpp @@ -17,9 +17,8 @@ namespace NNetliba { class TIPSocket { TNetSocket s; - enum { - HDR_SIZE = UDP_LOW_LEVEL_HEADER_SIZE - }; + + static constexpr int HDR_SIZE = UDP_LOW_LEVEL_HEADER_SIZE; public: void Init(int port) { |