test: minor changes to utility class

This commit is contained in:
Michele Caini
2023-11-14 14:26:36 +01:00
parent 9bad12064c
commit abfd8e035c

View File

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