Skip to content

Commit b8aa5f9

Browse files
committed
optimize includes
1 parent d4a2726 commit b8aa5f9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ydb/core/config/ut/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <library/cpp/testing/unittest/registar.h>
44
#include <library/cpp/protobuf/json/util.h>
55

6+
#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>
7+
68
#include <util/string/join.h>
79

810
#include <unordered_set>

ydb/core/config/utils/config_traverse.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#include <ydb/core/protos/config.pb.h>
44

5+
#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>
6+
57
#include <util/generic/deque.h>
68
#include <util/generic/map.h>
79
#include <util/generic/set.h>

ydb/core/config/utils/config_traverse.h

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
#pragma once
22

3-
#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>
4-
53
#include <util/generic/deque.h>
64

75
#include <functional>
86

7+
namespace google::protobuf {
8+
class Descriptor;
9+
class FieldDescriptor;
10+
}
11+
912
namespace NKikimr::NConfig {
1013

11-
using namespace NProtoBuf;
14+
using namespace google::protobuf;
1215

1316
using TOnEntryFn = std::function<void(const Descriptor*, const TDeque<const Descriptor*>&, const TDeque<const FieldDescriptor*>&, const FieldDescriptor*, ssize_t)>;
1417

0 commit comments

Comments
 (0)