Skip to content

Commit

Permalink
optimize includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Enjection committed Feb 8, 2024
1 parent d4a2726 commit b8aa5f9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ydb/core/config/ut/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <library/cpp/testing/unittest/registar.h>
#include <library/cpp/protobuf/json/util.h>

#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>

#include <util/string/join.h>

#include <unordered_set>
Expand Down
2 changes: 2 additions & 0 deletions ydb/core/config/utils/config_traverse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>

#include <util/generic/deque.h>
#include <util/generic/map.h>
#include <util/generic/set.h>
Expand Down
9 changes: 6 additions & 3 deletions ydb/core/config/utils/config_traverse.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#pragma once

#include <contrib/libs/protobuf/src/google/protobuf/descriptor.h>

#include <util/generic/deque.h>

#include <functional>

namespace google::protobuf {
class Descriptor;
class FieldDescriptor;
}

namespace NKikimr::NConfig {

using namespace NProtoBuf;
using namespace google::protobuf;

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

Expand Down

0 comments on commit b8aa5f9

Please sign in to comment.