File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,18 @@ namespace fakeit {
49
49
INTERNAL_CATCH_TRY { \
50
50
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \
51
51
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
52
- catchAssertionHandler.handleMessage (resultWas, fomattedMessage); \
52
+ catchAssertionHandler.handleMessage (resultWas, std::move ( fomattedMessage) ); \
53
53
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
54
54
} INTERNAL_CATCH_CATCH (catchAssertionHandler) { \
55
- INTERNAL_CATCH_REACT ( catchAssertionHandler) \
55
+ catchAssertionHandler. complete (); \
56
56
}
57
57
#else
58
58
INTERNAL_CATCH_TRY { \
59
59
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
60
- catchAssertionHandler.handleMessage (resultWas, fomattedMessage); \
60
+ catchAssertionHandler.handleMessage (resultWas, std::move ( fomattedMessage) ); \
61
61
CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS \
62
62
} INTERNAL_CATCH_CATCH (catchAssertionHandler) { \
63
- INTERNAL_CATCH_REACT ( catchAssertionHandler) \
63
+ catchAssertionHandler. complete (); \
64
64
}
65
65
#endif
66
66
}
Original file line number Diff line number Diff line change @@ -1207,18 +1207,18 @@ namespace fakeit {
1207
1207
INTERNAL_CATCH_TRY { \
1208
1208
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \
1209
1209
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
1210
- catchAssertionHandler.handleMessage (resultWas, fomattedMessage); \
1210
+ catchAssertionHandler.handleMessage (resultWas, std::move ( fomattedMessage); \
1211
1211
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
1212
1212
} INTERNAL_CATCH_CATCH (catchAssertionHandler) { \
1213
- INTERNAL_CATCH_REACT ( catchAssertionHandler) \
1213
+ catchAssertionHandler. complete (); \
1214
1214
}
1215
1215
#else
1216
1216
INTERNAL_CATCH_TRY { \
1217
1217
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
1218
- catchAssertionHandler.handleMessage (resultWas, fomattedMessage); \
1218
+ catchAssertionHandler.handleMessage (resultWas, std::move ( fomattedMessage) ); \
1219
1219
CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS \
1220
1220
} INTERNAL_CATCH_CATCH (catchAssertionHandler) { \
1221
- INTERNAL_CATCH_REACT ( catchAssertionHandler) \
1221
+ catchAssertionHandler. complete (); \
1222
1222
}
1223
1223
#endif
1224
1224
}
You can’t perform that action at this time.
0 commit comments