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
Be able to copy active diagnostic request objects with their socket
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
utils
/
socketcan.cpp
diff --git
a/CAN-binder/low-can-binding/utils/socketcan.cpp
b/CAN-binder/low-can-binding/utils/socketcan.cpp
index
d66822d
..
ffd4615
100644
(file)
--- a/
CAN-binder/low-can-binding/utils/socketcan.cpp
+++ b/
CAN-binder/low-can-binding/utils/socketcan.cpp
@@
-43,6
+43,12
@@
namespace utils
s.socket_ = INVALID_SOCKET;
}
+ socketcan_t& socketcan_t::operator=(const socketcan_t& s)
+ {
+ socket_ = std::move(s.socket_);
+ return *this;
+ }
+
socketcan_t::~socketcan_t()
{}