From d1abdd220cfafa8c443a1fcd8466d60eb58bebc2 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Thu, 17 Dec 2015 01:57:05 +0000 Subject: [PATCH] C.30: Fixed a typo in the example. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index b581f7e..fcecba3 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3500,7 +3500,7 @@ Only define a non-default destructor if a class needs to execute code that is no template struct final_action { // slightly simplified A act; - final_action(F a) :act{a} {} + final_action(A a) :act{a} {} ~final_action() { act(); } };