aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-24 01:37:04 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-24 01:37:04 +0200
commitd9e84736777908cd23ce1f7e935fa8b43849685c (patch)
tree5d8c9917539f1ad367c9b9aceb07c33074dbc5ef
parentab4d52b65359c571267c71244578321580520c20 (diff)
Initialize the new socket member.
Change-Id: Ia267c7ec605c692222ddcaed112486f81b428200 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp6
1 files changed, 4 insertions, 2 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 35a6c56..28bf816 100644
--- a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
+++ b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
@@ -61,7 +61,8 @@ active_diagnostic_request_t::active_diagnostic_request_t()
recurring_{false},
wait_for_multiple_responses_{false},
frequency_clock_{frequency_clock_t()},
- timeout_clock_{frequency_clock_t()}
+ timeout_clock_{frequency_clock_t()},
+ socket_{}
{}
active_diagnostic_request_t::active_diagnostic_request_t(const std::string& bus, DiagnosticRequest* request,
@@ -79,7 +80,8 @@ active_diagnostic_request_t::active_diagnostic_request_t(const std::string& bus,
recurring_{frequencyHz ? true : false},
wait_for_multiple_responses_{wait_for_multiple_responses},
frequency_clock_{frequency_clock_t(frequencyHz)},
- timeout_clock_{frequency_clock_t(10)}
+ timeout_clock_{frequency_clock_t(10)},
+ socket_{}
{}
active_diagnostic_request_t::~active_diagnostic_request_t()