From 3831117bc7748fdefe1c98f5a31f9b9038243dd4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 30 Aug 2016 23:23:07 +0100 Subject: [PATCH] style tweak --- src/commands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cc b/src/commands.cc index e8a26506..56b8346c 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -912,7 +912,7 @@ void define_command(const ParametersParser& parser, Context& context, const Shel auto first = matches.begin(), last = matches.end(); std::make_heap(first, last, greater); CandidateList res; - while(res.size() < max_count and first != last) + while (res.size() < max_count and first != last) { if (res.empty() or res.back() != first->candidate()) res.push_back(first->candidate().str());