Explorar el Código

removed wrong ENTT_NOEXCEPT

Michele Caini hace 7 años
padre
commit
bc3b790f13
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {