aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagnostic
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagnostic')
-rw-r--r--src/diagnostic/active-diagnostic-request.cpp4
1 files changed, 2 insertions, 2 deletions
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()