diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-24 00:00:33 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-24 00:00:33 +0200 |
commit | d35da77dcd5273b54177f8bc8ae7e5992bb3ca09 (patch) | |
tree | 2782f53cefc3995283231b8ee306cac477232dba /CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp | |
parent | 7747851ca010a3dfe9ffee808376dd5a7af68b91 (diff) |
Be able to copy active diagnostic request objects with their socket
Implement socket copy assignment operator on socketcan base class.
Change-Id: I75a2d3b96275b7ab83372d74ff7fe0a0b0535dc7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp index e657456f..e9f0cd10 100644 --- a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp +++ b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp @@ -45,6 +45,7 @@ active_diagnostic_request_t& active_diagnostic_request_t::operator=(const active wait_for_multiple_responses_ = adr.wait_for_multiple_responses_; frequency_clock_ = adr.frequency_clock_; timeout_clock_ = adr.timeout_clock_; + socket_ = adr.socket_; } return *this; |