We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23ffafa + 4f3dba4 commit 2fe3e52Copy full SHA for 2fe3e52
features/frameworks/utest/utest/utest_types.h
@@ -88,6 +88,12 @@ namespace v1 {
88
failure_t(location_t location) : reason(REASON_NONE), location(location) {}
89
failure_t(failure_reason_t reason, location_t location) : reason(reason), location(location) {}
90
91
+ /// Copy constructor
92
+ failure_t(const failure_t &obj){
93
+ reason = obj.reason;
94
+ location = obj.location;
95
+ }
96
+
97
/// @returns a copy of the failure with the reason ignored.
98
failure_t ignored() const {
99
return failure_t(failure_reason_t(reason | REASON_IGNORE), location);
0 commit comments