Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: segfault subscribing diagnostic messages
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
binding
/
low-can-cb.hpp
diff --git
a/CAN-binder/low-can-binding/binding/low-can-cb.hpp
b/CAN-binder/low-can-binding/binding/low-can-cb.hpp
index
b74fdb2
..
0f276fb
100644
(file)
--- a/
CAN-binder/low-can-binding/binding/low-can-cb.hpp
+++ b/
CAN-binder/low-can-binding/binding/low-can-cb.hpp
@@
-40,7
+40,7
@@
private:
/// Signal part
std::shared_ptr<can_signal_t> can_signal_;
/// Signal part
std::shared_ptr<can_signal_t> can_signal_;
- std::shared_ptr<
active_diagnostic_request_t> active_diagnostic_request
_;
+ std::shared_ptr<
diagnostic_message_t> diagnostic_message
_;
/// Filtering part
struct event_filter_t event_filter_;
/// Filtering part
struct event_filter_t event_filter_;
@@
-49,7
+49,7
@@
private:
public:
low_can_subscription_t();
low_can_subscription_t(struct event_filter_t event_filter);
public:
low_can_subscription_t();
low_can_subscription_t(struct event_filter_t event_filter);
- low_can_subscription_t(struct event_filter_t event_filter, std::shared_ptr<
active_diagnostic_request_t> active_diagnostic_request
);
+ low_can_subscription_t(struct event_filter_t event_filter, std::shared_ptr<
diagnostic_message_t> diagnostic_message
);
low_can_subscription_t(const low_can_subscription_t& s) = delete;
low_can_subscription_t(low_can_subscription_t&& s);
low_can_subscription_t(const low_can_subscription_t& s) = delete;
low_can_subscription_t(low_can_subscription_t&& s);