From 2a2581cc95967d222599d7ab315cbe545beb9213 Mon Sep 17 00:00:00 2001 From: 1024 <135350620+dejan1024@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:07:33 +0200 Subject: [PATCH] R.3: Fill in placeholder link (#2173) * fill in placeholder link * fixed a typo --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index ea08f9339..6de8e6ecb 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9539,7 +9539,7 @@ Returning a (raw) pointer imposes a lifetime management uncertainty on the calle delete p; } -In addition to suffering from the problem from [leak](#???), this adds a spurious allocation and deallocation operation, and is needlessly verbose. If Gadget is cheap to move out of a function (i.e., is small or has an efficient move operation), just return it "by value" (see ["out" return values](#Rf-out)): +In addition to suffering from the problem of [leak](#Rp-leak), this adds a spurious allocation and deallocation operation, and is needlessly verbose. If Gadget is cheap to move out of a function (i.e., is small or has an efficient move operation), just return it "by value" (see ["out" return values](#Rf-out)): Gadget make_gadget(int n) {