From b9db917948cf37b568ea5a17ca0bb830b5768206 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Mon, 8 Oct 2018 12:53:44 +0900 Subject: [PATCH] [coco] Remove unnecessary indentation in Update.cpp (#1770) This commit removes unnecessary indentation in Update.cpp. Signed-off-by: Jonghyun Park --- contrib/coco/core/src/IR/Update.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/contrib/coco/core/src/IR/Update.cpp b/contrib/coco/core/src/IR/Update.cpp index abefb86..8e81c85 100644 --- a/contrib/coco/core/src/IR/Update.cpp +++ b/contrib/coco/core/src/IR/Update.cpp @@ -31,10 +31,7 @@ void Update::bag(Bag *bag) { if (_bag) { - // TODO Remove unnecessary indentation - { - _bag->mutable_updates()->erase(this); - } + _bag->mutable_updates()->erase(this); _bag = nullptr; } @@ -43,10 +40,7 @@ void Update::bag(Bag *bag) if (bag) { _bag = bag; - // TODO Remove unnecessary indentation - { - _bag->mutable_updates()->insert(this); - } + _bag->mutable_updates()->insert(this); } assert(_bag == bag); -- 2.7.4