summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-02 19:49:46 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-02 19:49:46 +0200
commit7674529c84eced2a0b172811ac085a9b75fb6452 (patch)
treebc2448ee3d349627e125b16d56a365de633a0d42 /CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp
parent9ecd09263535843e287048d299ca5bdfc85d18d9 (diff)
C++ coding style
No changes on the object so it is a const method... Change-Id: I55b50d0d6fc0dd120f58ca56b6a68172353a5ef5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp')
-rw-r--r--CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp
index 65ed9c0..8217614 100644
--- a/CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp
+++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-message.hpp
@@ -77,7 +77,7 @@ class diagnostic_message_t
void set_supported(bool value);
void set_parent(can_message_set_t* parent);
- const DiagnosticRequest build_diagnostic_request();
+ const DiagnosticRequest build_diagnostic_request() const;
bool is_obd2_response(const can_message_t& can_message);
bool is_obd2_request(const DiagnosticRequest *request);