aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Khoroshilov <hor911@gmail.com>2022-05-10 00:50:26 +0300
committerAleksandr Khoroshilov <hor911@gmail.com>2022-05-10 00:50:26 +0300
commitdd336fc2e37d280eba49fcf2519416a8b4cd218b (patch)
tree61d7760010c78b30f75fcaf168237568a5058480
parent3eb58809b2f836790346240fc63b4a86d931a3d4 (diff)
downloadydb-dd336fc2e37d280eba49fcf2519416a8b4cd218b.tar.gz
Templatenization
ref:1318f34b996f072a3285d5aeeaee33256e030dcf
-rw-r--r--ydb/core/yq/libs/control_plane_storage/events/events.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ydb/core/yq/libs/control_plane_storage/events/events.h b/ydb/core/yq/libs/control_plane_storage/events/events.h
index 7b38f1e994..bee465482c 100644
--- a/ydb/core/yq/libs/control_plane_storage/events/events.h
+++ b/ydb/core/yq/libs/control_plane_storage/events/events.h
@@ -203,6 +203,7 @@ struct TEvControlPlaneStorage {
template<typename ProtoMessage, ui32 EventType>
struct TControlPlaneRequest : NActors::TEventLocal<TControlPlaneRequest<ProtoMessage, EventType>, EventType> {
+ using ProtoRequestType = ProtoMessage;
explicit TControlPlaneRequest(const TString& scope,
const ProtoMessage& request,
const TString& user,
@@ -240,6 +241,7 @@ struct TEvControlPlaneStorage {
template<typename TDerived, typename ProtoMessage, ui32 EventType>
struct TControlPlaneResponse : NActors::TEventLocal<TDerived, EventType> {
+ using ProtoResultType = ProtoMessage;
explicit TControlPlaneResponse(const ProtoMessage& result)
: Result(result)
{