diff --git a/src/catch2/internal/catch_decomposer.hpp b/src/catch2/internal/catch_decomposer.hpp index 260a3f78..6ed828b9 100644 --- a/src/catch2/internal/catch_decomposer.hpp +++ b/src/catch2/internal/catch_decomposer.hpp @@ -178,47 +178,47 @@ namespace Catch { template auto operator == ( RhsT const& rhs ) -> BinaryExpr const { - return { compareEqual( m_lhs, rhs ), m_lhs, "==", rhs }; + return { compareEqual( m_lhs, rhs ), m_lhs, "=="_sr, rhs }; } auto operator == ( bool rhs ) -> BinaryExpr const { - return { m_lhs == rhs, m_lhs, "==", rhs }; + return { m_lhs == rhs, m_lhs, "=="_sr, rhs }; } template auto operator != ( RhsT const& rhs ) -> BinaryExpr const { - return { compareNotEqual( m_lhs, rhs ), m_lhs, "!=", rhs }; + return { compareNotEqual( m_lhs, rhs ), m_lhs, "!="_sr, rhs }; } auto operator != ( bool rhs ) -> BinaryExpr const { - return { m_lhs != rhs, m_lhs, "!=", rhs }; + return { m_lhs != rhs, m_lhs, "!="_sr, rhs }; } template auto operator > ( RhsT const& rhs ) -> BinaryExpr const { - return { static_cast(m_lhs > rhs), m_lhs, ">", rhs }; + return { static_cast(m_lhs > rhs), m_lhs, ">"_sr, rhs }; } template auto operator < ( RhsT const& rhs ) -> BinaryExpr const { - return { static_cast(m_lhs < rhs), m_lhs, "<", rhs }; + return { static_cast(m_lhs < rhs), m_lhs, "<"_sr, rhs }; } template auto operator >= ( RhsT const& rhs ) -> BinaryExpr const { - return { static_cast(m_lhs >= rhs), m_lhs, ">=", rhs }; + return { static_cast(m_lhs >= rhs), m_lhs, ">="_sr, rhs }; } template auto operator <= ( RhsT const& rhs ) -> BinaryExpr const { - return { static_cast(m_lhs <= rhs), m_lhs, "<=", rhs }; + return { static_cast(m_lhs <= rhs), m_lhs, "<="_sr, rhs }; } template auto operator | (RhsT const& rhs) -> BinaryExpr const { - return { static_cast(m_lhs | rhs), m_lhs, "|", rhs }; + return { static_cast(m_lhs | rhs), m_lhs, "|"_sr, rhs }; } template auto operator & (RhsT const& rhs) -> BinaryExpr const { - return { static_cast(m_lhs & rhs), m_lhs, "&", rhs }; + return { static_cast(m_lhs & rhs), m_lhs, "&"_sr, rhs }; } template auto operator ^ (RhsT const& rhs) -> BinaryExpr const { - return { static_cast(m_lhs ^ rhs), m_lhs, "^", rhs }; + return { static_cast(m_lhs ^ rhs), m_lhs, "^"_sr, rhs }; } template