Explorar o código

test: minor changes to utility class

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
abfd8e035c
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      test/entt/common/throwing_type.hpp

+ 0 - 4
test/entt/common/throwing_type.hpp

@@ -20,10 +20,6 @@ public:
     }
 
     throwing_type &operator=(const throwing_type &other) {
-        if(trigger) {
-            throw exception_type{};
-        }
-
         trigger = other.trigger;
         return *this;
     }