Skip to content

Commit

Permalink
protocols: do not copy on exception rethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDebrunner committed Feb 27, 2024
1 parent 152d0fe commit d891d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mav/opinionated_protocols/ProtocolUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ namespace mav {
return func(args...);
} catch (const TimeoutException& e) {
if (i == retries - 1) {
throw e;
throw;
}
}
}
Expand Down

0 comments on commit d891d1a

Please sign in to comment.