diff options
Diffstat (limited to 'CAN-binder/low-can-binding/utils/socketcan.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/utils/socketcan.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/CAN-binder/low-can-binding/utils/socketcan.cpp b/CAN-binder/low-can-binding/utils/socketcan.cpp index ffd46151..1f7aaa61 100644 --- a/CAN-binder/low-can-binding/utils/socketcan.cpp +++ b/CAN-binder/low-can-binding/utils/socketcan.cpp @@ -31,17 +31,10 @@ namespace utils : socket_{INVALID_SOCKET} {} - /// @brief Construct a socket by copying an existing one. - socketcan_t::socketcan_t(const socketcan_t& s) - : socket_{s.socket_} - {} - /// @brief Construct a socket by moving an existing one. socketcan_t::socketcan_t(socketcan_t&& s) : socket_{s.socket_} - { - s.socket_ = INVALID_SOCKET; - } + {} socketcan_t& socketcan_t::operator=(const socketcan_t& s) { |