From 7b38170ebce154eb1f95743e928292dbe034aad3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Sep 2015 16:17:24 +0200 Subject: [PATCH] Add missing "=" to the example of using tie() --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a62d712..9c6af41 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1259,7 +1259,7 @@ consider using a style that returns a pair of values: int val; int error_code; - tie(val,error_code) do_something(); + tie(val,error_code) = do_something(); if (error_code==0) { // ... handle the error or exit ... }