From 811c6ef58b11122834f3395cbcaa2b74798793cb Mon Sep 17 00:00:00 2001 From: Vadim Khotilovich Date: Tue, 26 Apr 2016 22:11:19 -0500 Subject: [PATCH] obey the lint --- src/c_api/c_api.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/c_api/c_api.cc b/src/c_api/c_api.cc index ed569351e..cf6be2046 100644 --- a/src/c_api/c_api.cc +++ b/src/c_api/c_api.cc @@ -35,8 +35,7 @@ class Booster { auto it = std::find_if(cfg_.begin(), cfg_.end(), [&name](decltype(*cfg_.begin()) &x) { return x.first == name; - } - ); + }); if (it == cfg_.end()) { cfg_.push_back(std::make_pair(name, val)); } else {