Skip to content

Commit

Permalink
observer: propagate noexcept-ness
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 6, 2024
1 parent 0966cc9 commit 5bb706c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entt/entity/observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class basic_observer {
}

/*! @brief Default destructor. */
~basic_observer() noexcept = default;
~basic_observer() noexcept(false) {}

/**
* @brief Default copy assignment operator, deleted on purpose.
Expand Down

0 comments on commit 5bb706c

Please sign in to comment.