From 85263b2d024674055fb88bf628ff7b6ed615470c Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 16 Jun 2022 12:42:24 +0300 Subject: [PATCH] trace-state: Remove unused fields ... and one friendship declaration tests: compilation Signed-off-by: Pavel Emelyanov Message-Id: <20220616094224.30676-1-xemul@scylladb.com> --- tracing/trace_state.hh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tracing/trace_state.hh b/tracing/trace_state.hh index d0ccb0e13e..217d8ed6ad 100644 --- a/tracing/trace_state.hh +++ b/tracing/trace_state.hh @@ -70,10 +70,6 @@ private: std::chrono::microseconds _slow_query_threshold; trace_state_props_set _state_props; state _state = state::inactive; - std::chrono::system_clock::rep _started_at; - gms::inet_address _client; - sstring _request; - int _pending_trace_events = 0; shared_ptr _local_tracing_ptr; struct params_values; @@ -493,7 +489,6 @@ private: friend void add_table_name(const trace_state_ptr& p, const sstring& ks_name, const sstring& cf_name); friend void add_prepared_query_options(const trace_state_ptr& state, const cql3::query_options& prepared_options_ptr); friend void stop_foreground(const trace_state_ptr& state) noexcept; - friend void stop_foreground_prepared(const trace_state_ptr& state, const cql3::query_options* prepared_options_ptr) noexcept; }; class trace_state_ptr final {