Browse Source

test: minor changes to utility class

Michele Caini 2 years ago
parent
commit
abfd8e035c
1 changed files with 0 additions and 4 deletions
  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) {
     throwing_type &operator=(const throwing_type &other) {
-        if(trigger) {
-            throw exception_type{};
-        }
-
         trigger = other.trigger;
         trigger = other.trigger;
         return *this;
         return *this;
     }
     }