From 56c22348d3af944b68bc7395553b9f8b1a817ba6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 15 Mar 2017 00:51:38 +0100 Subject: Uniformization between get_name() method of signals. can_signal_t and active_diagnostic_message return name with prefix using this method. If you need without it then use get_generic_name. Change-Id: I6b153eb20214049c10619d39fcc65c8641a9e32f Signed-off-by: Romain Forlot --- src/diagnostic/active-diagnostic-request.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/diagnostic/active-diagnostic-request.cpp b/src/diagnostic/active-diagnostic-request.cpp index 762cb61c..9d0f6aae 100644 --- a/src/diagnostic/active-diagnostic-request.cpp +++ b/src/diagnostic/active-diagnostic-request.cpp @@ -76,9 +76,9 @@ DiagnosticRequestHandle* active_diagnostic_request_t::get_handle() return handle_; } -std::string& active_diagnostic_request_t::get_name() +const std::string active_diagnostic_request_t::get_name() const { - return name_; + return active_diagnostic_request_t::prefix_ + "." + name_; } std::string& active_diagnostic_request_t::get_prefix() -- cgit 1.2.3-korg