From 165c61e7ce506d8651be77c6bf56c7a91caccfe2 Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Thu, 11 Aug 2016 10:27:03 +0200 Subject: [PATCH] bad signature # Conflicts: # CppCoreGuidelines.md --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 71c2d32..3f804e4 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11452,12 +11452,12 @@ Defining "small amount" precisely is impossible. ##### Example string modify1(string); - void modify2(shared_ptr); void fct(string& s) { - auto res = async(modify1,string); - async(modify2,&s); + auto res = async(modify1, s); + async(modify2, &s); } The call of `modify1` involves copying two `string` values; the call of `modify2` does not.