From dca24a037924be3ddb0d5ab139342a56bc384e57 Mon Sep 17 00:00:00 2001 From: Nikolay Panov <52208710+panikgit@users.noreply.github.com> Date: Tue, 2 Aug 2022 20:30:21 +0400 Subject: [PATCH] T.21 Fix wrong return type (#1942) Co-authored-by: Nikolay Panov --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 183e249..3672e29 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -17434,7 +17434,7 @@ The rule supports the view that a concept should reflect a (mathematically) cohe bool operator<(const Convenient&, const Convenient&); // ... and the other comparison operators ... - Minimal operator+(const Convenient&, const Convenient&); + Convenient operator+(const Convenient&, const Convenient&); // ... and the other arithmetic operators ... void f(const Convenient& x, const Convenient& y)