From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 953A1445320 for ; Wed, 8 Jul 2020 15:08:57 +0300 (MSK) From: Aleksandr Lyapunov References: <1594210027-332-1-git-send-email-alyapunov@tarantool.org> Message-ID: <7dbb3c3f-4eb5-4b8d-9ec6-b0e425c6e650@tarantool.org> Date: Wed, 8 Jul 2020 15:08:56 +0300 MIME-Version: 1.0 In-Reply-To: <1594210027-332-1-git-send-email-alyapunov@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Tarantool-patches] [PATCH] Fix make_scoped_guard usage List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org +reviewers On 08.07.2020 15:07, Aleksandr Lyapunov wrote: > make_scoped_guard usually captures scope by [=]. > In some cases it could lead to unexpected results. > I found several problems and fixed them. > > GH issue: https://github.com/tarantool/tarantool/issues/5154 > GH branch: https://github.com/tarantool/tarantool/tree/alyapunov/gh-5154-wrong-scoped-guards > > Aleksandr Lyapunov (1): > Fix wrong make_scoped_guard usage > > src/box/alter.cc | 4 ++-- > src/main.cc | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) >