dispatcher: minor changes

This commit is contained in:
Michele Caini
2023-11-15 17:29:20 +01:00
parent 757eb5f10c
commit 339df18c06

View File

@@ -190,7 +190,6 @@ public:
*/
basic_dispatcher &operator=(basic_dispatcher &&other) noexcept {
ENTT_ASSERT(alloc_traits::is_always_equal::value || pools.second() == other.pools.second(), "Copying a dispatcher is not allowed");
pools = std::move(other.pools);
return *this;
}