From 84b1d80c61e121625fc5d697a786e2a45a4d649a Mon Sep 17 00:00:00 2001 From: Frank Zingsheim Date: Tue, 18 Oct 2016 22:35:18 +0200 Subject: [PATCH] T.84 Correction of Example: Change type of suc and pre to Link_base --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 1f561d6..d955d9e 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -15519,8 +15519,8 @@ Avoid code bloat. It could be a base class: struct Link_base { // stable - Link* suc; - Link* pre; + Link_base* suc; + Link_base* pre; }; template // templated wrapper to add type safety