From: 박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Mon, 8 Oct 2018 03:53:44 +0000 (+0900) Subject: [coco] Remove unnecessary indentation in Update.cpp (#1770) X-Git-Tag: nncc_backup~1612 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9db917948cf37b568ea5a17ca0bb830b5768206;p=platform%2Fcore%2Fml%2Fnnfw.git [coco] Remove unnecessary indentation in Update.cpp (#1770) This commit removes unnecessary indentation in Update.cpp. Signed-off-by: Jonghyun Park --- 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);