Skip to content

Commit

Permalink
Clang workaround?
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Sep 13, 2024
1 parent 5f166f2 commit aacbf38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/catch2/internal/catch_decomposer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ namespace Catch {
bool m_isBinaryExpression;
bool m_result;

protected:
~ITransientExpression() = default;

public:
constexpr auto isBinaryExpression() const -> bool { return m_isBinaryExpression; }
constexpr auto getResult() const -> bool { return m_result; }
Expand All @@ -175,9 +178,6 @@ namespace Catch {
expr.streamReconstructedExpression(out);
return out;
}

protected:
~ITransientExpression() = default;
};

void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs );
Expand Down

0 comments on commit aacbf38

Please sign in to comment.