Skip to content

Commit

Permalink
EaxException should be copyable too
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Jun 1, 2024
1 parent bf5fe65 commit b33366a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions al/eax/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class EaxException : public std::runtime_error {

public:
EaxException() = delete;
EaxException(const EaxException&) = delete;
EaxException(EaxException&&) = delete;
EaxException(const EaxException&) = default;
EaxException(EaxException&&) = default;
EaxException(std::string_view context, std::string_view message);
~EaxException() override;

void operator=(const EaxException&) = delete;
void operator=(EaxException&&) = delete;
auto operator=(const EaxException&) -> EaxException& = default;
auto operator=(EaxException&&) -> EaxException& = default;
};

#endif /* EAX_EXCEPTION_INCLUDED */

0 comments on commit b33366a

Please sign in to comment.