diff --git a/CPPLINT.cfg b/CPPLINT.cfg index 6a8c87cd..7b206932 100644 --- a/CPPLINT.cfg +++ b/CPPLINT.cfg @@ -29,7 +29,6 @@ filter=-build/include filter=-build/header_guard filter=-build/include_what_you_use filter=-build/include_order -filter=-build/explicit_make_pair filter=-runtime/explicit filter=-runtime/string filter=-runtime/int diff --git a/lib/src/ConfigLoader.cc b/lib/src/ConfigLoader.cc index c7f0cdde..3e9fa5da 100644 --- a/lib/src/ConfigLoader.cc +++ b/lib/src/ConfigLoader.cc @@ -290,8 +290,9 @@ static void loadApp(const Json::Value &app) std::vector> headers; for (auto &header : app["static_file_headers"]) { - headers.emplace_back(std::make_pair( - header["name"].asString(), header["value"].asString())); + headers.emplace_back( + std::make_pair(header["name"].asString(), + header["value"].asString())); } drogon::app().setStaticFileHeaders(headers); }