From 0ae369a969bd2fcbaad56cc4353093b131ca8631 Mon Sep 17 00:00:00 2001 From: bgloyer <36457894+bgloyer@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:34:07 -0700 Subject: [PATCH] fix complile problem in T.21 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 96382d7fc..192d43969 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -17622,7 +17622,7 @@ It is a general design rule that even applies to non-templates: Minimal operator+(const Minimal&, const Minimal&); // no other operators - void f(const Minimal& x, const Minimal& y) + void f(Minimal x, Minimal y) { if (!(x == y)) { /* ... */ } // OK if (x != y) { /* ... */ } // surprise! error