aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcherepashka <cherepashka@yandex-team.com>2024-12-04 19:18:36 +0300
committercherepashka <cherepashka@yandex-team.com>2024-12-04 19:46:37 +0300
commit0ee4aa0bed96decb383c7ac2ffb9bcfa76188acd (patch)
treede776b81eb7ebb7792f89fdc120a0f7ae6301a81
parent49ad968e39ecb62809cec95224102960341ebe0b (diff)
downloadydb-0ee4aa0bed96decb383c7ac2ffb9bcfa76188acd.tar.gz
Fix os build: TProtoStringType->TProtobufString
commit_hash:5a85490584f1a4c3766f2a97818ebf8df6927a64
-rw-r--r--yt/yt/core/ytree/ypath_client.cpp2
-rw-r--r--yt/yt/core/ytree/ypath_client.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/ytree/ypath_client.cpp b/yt/yt/core/ytree/ypath_client.cpp
index 67bef0e0dc..435577dc91 100644
--- a/yt/yt/core/ytree/ypath_client.cpp
+++ b/yt/yt/core/ytree/ypath_client.cpp
@@ -266,7 +266,7 @@ TYPathMaybeRef GetOriginalRequestTargetYPath(const NRpc::NProto::TRequestHeader&
: TYPathMaybeRef(ypathExt.target_path());
}
-const google::protobuf::RepeatedPtrField<TProtoStringType>& GetOriginalRequestAdditionalPaths(const NRpc::NProto::TRequestHeader& header)
+const google::protobuf::RepeatedPtrField<TProtobufString>& GetOriginalRequestAdditionalPaths(const NRpc::NProto::TRequestHeader& header)
{
const auto& ypathExt = header.GetExtension(NProto::TYPathHeaderExt::ypath_header_ext);
return ypathExt.original_additional_paths_size() > 0
diff --git a/yt/yt/core/ytree/ypath_client.h b/yt/yt/core/ytree/ypath_client.h
index f184d33b8a..08cb92c5a8 100644
--- a/yt/yt/core/ytree/ypath_client.h
+++ b/yt/yt/core/ytree/ypath_client.h
@@ -207,7 +207,7 @@ using TYPathMaybeRef = std::conditional_t<IsArcadiaProtobuf, const TYPath&, TYPa
TYPathMaybeRef GetRequestTargetYPath(const NRpc::NProto::TRequestHeader& header);
TYPathMaybeRef GetOriginalRequestTargetYPath(const NRpc::NProto::TRequestHeader& header);
-const google::protobuf::RepeatedPtrField<TProtoStringType>& GetOriginalRequestAdditionalPaths(const NRpc::NProto::TRequestHeader& header);
+const google::protobuf::RepeatedPtrField<TProtobufString>& GetOriginalRequestAdditionalPaths(const NRpc::NProto::TRequestHeader& header);
void SetRequestTargetYPath(NRpc::NProto::TRequestHeader* header, TYPathBuf path);