From: Romain Forlot Date: Thu, 30 Mar 2017 15:23:17 +0000 (+0200) Subject: Cleaning X-Git-Tag: 3.99.1~181 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=647a434cd1f511940cde972b2e3eada7ebd8fc6a;p=apps%2Flow-level-can-service.git Cleaning Change-Id: I5ef9bad2ef398d3d293c3fc2edc18271042455f4 Signed-off-by: Romain Forlot --- 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)