Преглед изворни кода

test: minor changes to utility class

Michele Caini пре 2 година
родитељ
комит
abfd8e035c
1 измењених фајлова са 0 додато и 4 уклоњено
  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;
     }
     }