From 89a49c346ce35dedda02477360a6e44eb49df04d Mon Sep 17 00:00:00 2001 From: Vlad Zolotarov Date: Tue, 19 Jul 2016 13:07:12 +0300 Subject: [PATCH] tracing::trace_state: add begin() overload for seastar::value_of given as a "request" parameter. Signed-off-by: Vlad Zolotarov --- tracing/trace_state.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tracing/trace_state.hh b/tracing/trace_state.hh index b7906131f9..21c81f4793 100644 --- a/tracing/trace_state.hh +++ b/tracing/trace_state.hh @@ -42,6 +42,7 @@ #include #include +#include #include "mutation.hh" #include "utils/UUID_gen.hh" #include "tracing/tracing.hh" @@ -152,6 +153,11 @@ private: _client = std::move(client); } + template + void begin(const seastar::lazy_eval& lf, gms::inet_address client) { + begin(lf(), client); + } + /** * Stores a batchlog endpoints. *