Просмотр исходного кода

test: minor changes to utility class

Michele Caini 2 лет назад
Родитель
Сommit
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) {
-        if(trigger) {
-            throw exception_type{};
-        }
-
         trigger = other.trigger;
         return *this;
     }