From 39b23cd08473ebd08240bfcfeac1db3c24e8285a Mon Sep 17 00:00:00 2001 From: Vlad Zolotarov Date: Thu, 18 Aug 2016 17:49:09 +0300 Subject: [PATCH] tracing::trace_state: rename: get_write_on_close() -> write_on_close() Signed-off-by: Vlad Zolotarov --- tracing/trace_state.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracing/trace_state.hh b/tracing/trace_state.hh index 3f4f5098ef..2a18e45f1c 100644 --- a/tracing/trace_state.hh +++ b/tracing/trace_state.hh @@ -155,7 +155,7 @@ public: return _records->session_rec.command; } - bool get_write_on_close() const { + bool write_on_close() const { return _write_on_close; } @@ -489,7 +489,7 @@ inline void trace(const trace_state_ptr& p, A&&... a) { inline std::experimental::optional make_trace_info(const trace_state_ptr& state) { if (state) { - return trace_info{state->session_id(), state->type(), state->get_write_on_close()}; + return trace_info{state->session_id(), state->type(), state->write_on_close()}; } return std::experimental::nullopt;