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
index d66822d..ffd4615 100644 (file)
@@ -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()
        {}