Skip to content

Commit

Permalink
Return defaulted copy operations to ITransientExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Sep 13, 2024
1 parent 4dd234d commit 5f166f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/catch2/internal/catch_decomposer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ namespace Catch {
m_result( result )
{}

constexpr ITransientExpression( ITransientExpression const& ) = default;
constexpr ITransientExpression& operator=( ITransientExpression const& ) = default;

friend std::ostream& operator<<(std::ostream& out, ITransientExpression const& expr) {
expr.streamReconstructedExpression(out);
return out;
Expand Down

0 comments on commit 5f166f2

Please sign in to comment.