Skip to content

Commit

Permalink
registry: propagate noexcept(false) to registry destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 6, 2024
1 parent 2147e4b commit 5e1c441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entt/entity/registry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class basic_registry {
}

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

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

0 comments on commit 5e1c441

Please sign in to comment.