Browse Source

removed wrong ENTT_NOEXCEPT

Michele Caini 6 years ago
parent
commit
bc3b790f13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -779,7 +779,7 @@ public:
      * @return References to the components owned by the entity.
      * @return References to the components owned by the entity.
      */
      */
     template<typename... Component>
     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));
         ENTT_ASSERT(valid(entity));
 
 
         if constexpr(sizeof...(Component) == 1) {
         if constexpr(sizeof...(Component) == 1) {