From a279a1318462fae7b2c5ac3207cf74db3f1cc229 Mon Sep 17 00:00:00 2001 From: "Otto C." <12378062+ILer32@users.noreply.github.com> Date: Sun, 28 Dec 2025 00:07:00 +0800 Subject: [PATCH] correct the color of '(' and ')' --- include/boost/ut.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/ut.hpp b/include/boost/ut.hpp index 9f2e731b..3db532d3 100644 --- a/include/boost/ut.hpp +++ b/include/boost/ut.hpp @@ -1413,14 +1413,14 @@ class printer { template auto& operator<<(const detail::and_& op) { - return (*this << '(' << op.lhs() << color(op) << " and " << colors_.none - << op.rhs() << ')'); + return (*this << color(op) << '(' << op.lhs() << color(op) << " and " + << op.rhs() << color(op) << ')') << colors_.none; } template auto& operator<<(const detail::or_& op) { - return (*this << '(' << op.lhs() << color(op) << " or " << colors_.none - << op.rhs() << ')'); + return (*this << color(op) << '(' << op.lhs() << color(op) << " or " + << op.rhs() << color(op) << ')') << colors_.none; } template