removed wrong ENTT_NOEXCEPT

This commit is contained in:
Michele Caini
2019-05-19 23:25:05 +02:00
parent 1fb0765443
commit bc3b790f13

View File

@@ -779,7 +779,7 @@ public:
* @return References to the components owned by the entity.
*/
template<typename... Component>
decltype(auto) get([[maybe_unused]] const entity_type entity) const ENTT_NOEXCEPT {
decltype(auto) get([[maybe_unused]] const entity_type entity) const {
ENTT_ASSERT(valid(entity));
if constexpr(sizeof...(Component) == 1) {