diff options
| author | robot-piglet <[email protected]> | 2024-08-16 22:35:50 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-08-16 22:43:57 +0300 |
| commit | 2fcc3532d5bfd8ccb3fb5b884088c01376c7888d (patch) | |
| tree | 9040d37b083ba19eed43ffa2dbefcf6b4c70d093 /library/cpp/netliba/v6/ib_test.cpp | |
| parent | 4216b16bbaa20122c440773c8360527e846305cc (diff) | |
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 178691e8375..8d1c825a245 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) { |
