From 647a434cd1f511940cde972b2e3eada7ebd8fc6a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 30 Mar 2017 17:23:17 +0200 Subject: [PATCH] Cleaning Change-Id: I5ef9bad2ef398d3d293c3fc2edc18271042455f4 Signed-off-by: Romain Forlot --- src/diagnostic/active-diagnostic-request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagnostic/active-diagnostic-request.cpp b/src/diagnostic/active-diagnostic-request.cpp index 8b6f054..7ddf1d5 100644 --- a/src/diagnostic/active-diagnostic-request.cpp +++ b/src/diagnostic/active-diagnostic-request.cpp @@ -28,7 +28,7 @@ std::string active_diagnostic_request_t::prefix_ = "diagnostic_messages"; bool active_diagnostic_request_t::operator==(const active_diagnostic_request_t& b) { - return (bus_ == b.bus_ && id_ == b.id_ && handle_ == b.handle_) ? true : false; + return (bus_ == b.bus_ && id_ == b.id_ && handle_ == b.handle_); } active_diagnostic_request_t& active_diagnostic_request_t::operator=(const active_diagnostic_request_t& adr) -- 2.16.6