Skip to content

Commit

Permalink
Update what function to a more modern signature
Browse files Browse the repository at this point in the history
throw() was deprecated moving to modern approach with noexcept
  • Loading branch information
s-Nick committed Jun 28, 2024
1 parent 1d7efb9 commit 1e28318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/blas_meta.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class unsupported_exception : public std::runtime_error {
: std::runtime_error(operator_name), _msg(operator_name) {
_msg += " operator currently not supported on selected device";
};
const char *what() const throw() { return _msg.c_str(); }
const char *what() const noexcept { return _msg.c_str(); }

private:
std::string _msg{};
Expand Down

0 comments on commit 1e28318

Please sign in to comment.