@@ -72,7 +72,7 @@ CanReturnCode CanDevice::close() noexcept {
7272 * @param frame The CAN frame to be sent. It must be a valid frame.
7373 * @return int Returns 0 on success, or a non-zero error code on failure.
7474 */
75- CanReturnCode CanDevice::send (const CanFrame & frame) noexcept {
75+ CanReturnCode CanDevice::send (const CanFrame& frame) noexcept {
7676 LOG (Log::DBG , CanLogIt::h ()) << " Sending CAN frame: " << frame;
7777
7878 CanReturnCode result = vendor_send (frame);
@@ -100,10 +100,10 @@ CanReturnCode CanDevice::send(const CanFrame &frame) noexcept {
100100 * success or a non-zero error code on failure for the corresponding frame.
101101 */
102102std::vector<CanReturnCode> CanDevice::send (
103- const std::vector<CanFrame> & frames) noexcept {
103+ const std::vector<CanFrame>& frames) noexcept {
104104 std::vector<CanReturnCode> result (frames.size ());
105105 std::transform (frames.begin (), frames.end (), result.begin (),
106- [this ](const CanFrame & frame) { return send (frame); });
106+ [this ](const CanFrame& frame) { return send (frame); });
107107 return result;
108108}
109109
@@ -144,7 +144,7 @@ CanDiagnostics CanDevice::diagnostics() noexcept {
144144 * provided.
145145 */
146146std::unique_ptr<CanDevice> CanDevice::create (
147- std::string_view vendor, const CanDeviceArguments & configuration) {
147+ std::string_view vendor, const CanDeviceArguments& configuration) {
148148 LOG (Log::INF , CanLogIt::h ()) << " Creating CAN device for vendor: " << vendor;
149149 LOG (Log::INF , CanLogIt::h ()) << " Configuration: " << configuration.config ;
150150
@@ -174,7 +174,7 @@ std::unique_ptr<CanDevice> CanDevice::create(
174174 return nullptr ;
175175}
176176
177- std::ostream & operator <<(std::ostream & os, CanReturnCode code) {
177+ std::ostream& operator <<(std::ostream& os, CanReturnCode code) {
178178 switch (code) {
179179 case CanReturnCode::success:
180180 return os << " SUCCESS" ;
0 commit comments