Skip to content

Commit

Permalink
message_set: mark exception constructor as noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDebrunner committed Feb 26, 2024
1 parent 9c198ca commit e65ade2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mav/MessageSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ namespace mav {

class ParseError : public std::runtime_error {
public:
explicit ParseError(const char* message)
explicit ParseError(const char* message) noexcept
: std::runtime_error(std::string(message))
{}

explicit ParseError(const std::string& message)
explicit ParseError(const std::string& message) noexcept
: std::runtime_error(message)
{}
};
Expand Down

0 comments on commit e65ade2

Please sign in to comment.