aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2024-01-29 13:05:03 +0300
committerbabenko <babenko@yandex-team.com>2024-01-29 13:24:17 +0300
commit9e01ee36325fca04e26b57d1cebb0955a042ce20 (patch)
tree2b4fb663cf1b8b13077282d97b0ae62423803dd0
parent4b605b17b574e396e4cac8fe2c92ed0841ec5f6f (diff)
downloadydb-9e01ee36325fca04e26b57d1cebb0955a042ce20.tar.gz
Move enum_indexed_array from misc to containers
-rw-r--r--library/cpp/yt/containers/enum_indexed_array-inl.h (renamed from library/cpp/yt/misc/enum_indexed_array-inl.h)0
-rw-r--r--library/cpp/yt/containers/enum_indexed_array.h (renamed from library/cpp/yt/misc/enum_indexed_array.h)2
-rw-r--r--library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp (renamed from library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp)2
-rw-r--r--library/cpp/yt/containers/unittests/ya.make5
-rw-r--r--library/cpp/yt/misc/unittests/ya.make1
-rw-r--r--library/cpp/yt/string/format-inl.h3
-rw-r--r--library/cpp/ytalloc/api/ya.make1
-rw-r--r--library/cpp/ytalloc/api/ytalloc.h3
-rw-r--r--yt/yt/client/api/public.h2
-rw-r--r--yt/yt/core/bus/tcp/dispatcher.h2
-rw-r--r--yt/yt/core/misc/serialize-inl.h2
-rw-r--r--yt/yt/core/yson/pull_parser_deserialize.h2
-rw-r--r--yt/yt/core/ytree/serialize.h2
13 files changed, 16 insertions, 11 deletions
diff --git a/library/cpp/yt/misc/enum_indexed_array-inl.h b/library/cpp/yt/containers/enum_indexed_array-inl.h
index edda891683..edda891683 100644
--- a/library/cpp/yt/misc/enum_indexed_array-inl.h
+++ b/library/cpp/yt/containers/enum_indexed_array-inl.h
diff --git a/library/cpp/yt/misc/enum_indexed_array.h b/library/cpp/yt/containers/enum_indexed_array.h
index 8992456277..bae6a75237 100644
--- a/library/cpp/yt/misc/enum_indexed_array.h
+++ b/library/cpp/yt/containers/enum_indexed_array.h
@@ -1,6 +1,6 @@
#pragma once
-#include "enum.h"
+#include <library/cpp/yt/misc/enum.h>
namespace NYT {
diff --git a/library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp b/library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp
index 4111c6f4fe..a87c417d7d 100644
--- a/library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp
+++ b/library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp
@@ -1,6 +1,6 @@
#include <library/cpp/testing/gtest/gtest.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
namespace NYT {
namespace {
diff --git a/library/cpp/yt/containers/unittests/ya.make b/library/cpp/yt/containers/unittests/ya.make
index 3e7cfd4311..3ffc420658 100644
--- a/library/cpp/yt/containers/unittests/ya.make
+++ b/library/cpp/yt/containers/unittests/ya.make
@@ -1,8 +1,11 @@
-GTEST(unittester-containers)
+GTEST()
INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+SIZE(MEDIUM)
+
SRCS(
+ enum_indexed_array_ut.cpp
sharded_set_ut.cpp
)
diff --git a/library/cpp/yt/misc/unittests/ya.make b/library/cpp/yt/misc/unittests/ya.make
index 43e9f9b9ff..611edd7217 100644
--- a/library/cpp/yt/misc/unittests/ya.make
+++ b/library/cpp/yt/misc/unittests/ya.make
@@ -4,7 +4,6 @@ INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
SRCS(
enum_ut.cpp
- enum_indexed_array_ut.cpp
guid_ut.cpp
preprocessor_ut.cpp
strong_typedef_ut.cpp
diff --git a/library/cpp/yt/string/format-inl.h b/library/cpp/yt/string/format-inl.h
index 776b48e7fb..85e82b473e 100644
--- a/library/cpp/yt/string/format-inl.h
+++ b/library/cpp/yt/string/format-inl.h
@@ -11,8 +11,9 @@
#include <library/cpp/yt/small_containers/compact_vector.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
+
#include <library/cpp/yt/misc/enum.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
#include <util/system/platform.h>
diff --git a/library/cpp/ytalloc/api/ya.make b/library/cpp/ytalloc/api/ya.make
index 7e7852df14..9cec6be14c 100644
--- a/library/cpp/ytalloc/api/ya.make
+++ b/library/cpp/ytalloc/api/ya.make
@@ -6,6 +6,7 @@ SRCS(
PEERDIR(
library/cpp/yt/misc
+ library/cpp/yt/containers
)
END()
diff --git a/library/cpp/ytalloc/api/ytalloc.h b/library/cpp/ytalloc/api/ytalloc.h
index 43ba48852d..38879074dd 100644
--- a/library/cpp/ytalloc/api/ytalloc.h
+++ b/library/cpp/ytalloc/api/ytalloc.h
@@ -3,7 +3,8 @@
#include <stddef.h>
#include <library/cpp/yt/misc/enum.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+
+#include <library/cpp/yt/containers/enum_indexed_array.h>
#include <util/system/types.h>
diff --git a/yt/yt/client/api/public.h b/yt/yt/client/api/public.h
index 55a72dd3c5..5f3db2e19a 100644
--- a/yt/yt/client/api/public.h
+++ b/yt/yt/client/api/public.h
@@ -14,7 +14,7 @@
#include <yt/yt/core/rpc/public.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
namespace NYT::NApi {
diff --git a/yt/yt/core/bus/tcp/dispatcher.h b/yt/yt/core/bus/tcp/dispatcher.h
index 8a64a6af1d..6cc5f9f7f0 100644
--- a/yt/yt/core/bus/tcp/dispatcher.h
+++ b/yt/yt/core/bus/tcp/dispatcher.h
@@ -12,7 +12,7 @@
#include <yt/yt/core/ytree/public.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
namespace NYT::NBus {
diff --git a/yt/yt/core/misc/serialize-inl.h b/yt/yt/core/misc/serialize-inl.h
index 6a0948e051..63db8744ac 100644
--- a/yt/yt/core/misc/serialize-inl.h
+++ b/yt/yt/core/misc/serialize-inl.h
@@ -10,7 +10,7 @@
#include <library/cpp/yt/small_containers/compact_flat_map.h>
#include <library/cpp/yt/small_containers/compact_set.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
#include <optional>
#include <variant>
diff --git a/yt/yt/core/yson/pull_parser_deserialize.h b/yt/yt/core/yson/pull_parser_deserialize.h
index 20cd57b68a..93af8deb78 100644
--- a/yt/yt/core/yson/pull_parser_deserialize.h
+++ b/yt/yt/core/yson/pull_parser_deserialize.h
@@ -4,7 +4,7 @@
#include "pull_parser.h"
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
namespace NYT::NYson {
diff --git a/yt/yt/core/ytree/serialize.h b/yt/yt/core/ytree/serialize.h
index ed58a6f934..8b73fe812f 100644
--- a/yt/yt/core/ytree/serialize.h
+++ b/yt/yt/core/ytree/serialize.h
@@ -12,7 +12,7 @@
#include <library/cpp/yt/small_containers/compact_vector.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
#include <optional>