Skip to content

Commit

Permalink
Compatibility changes with Catch2 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Poldraunic committed Sep 28, 2024
1 parent 4aa3086 commit d881609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single_header/catch/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1207,10 +1207,10 @@ namespace fakeit {
INTERNAL_CATCH_TRY { \
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
catchAssertionHandler.handleMessage(resultWas, fomattedMessage); \
catchAssertionHandler.handleMessage(resultWas, std::move(fomattedMessage); \
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
} INTERNAL_CATCH_CATCH(catchAssertionHandler) { \
INTERNAL_CATCH_REACT(catchAssertionHandler) \
catchAssertionHandler.complete(); \
}
#else
INTERNAL_CATCH_TRY { \
Expand Down

0 comments on commit d881609

Please sign in to comment.