Fix ml::unknown_activation_type overriding what()
This commit is contained in:
parent
c6f01aad81
commit
b47b6aa224
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ namespace psemek::ml
|
|||
struct unknown_activation_type
|
||||
: std::exception
|
||||
{
|
||||
char const * what() noexcept;
|
||||
char const * what() const noexcept override;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
namespace psemek::ml
|
||||
{
|
||||
|
||||
char const * unknown_activation_type::what() noexcept
|
||||
char const * unknown_activation_type::what() const noexcept
|
||||
{
|
||||
return "unknown activation type";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue