fix compile for gcc 4.8

develop
Ben Lubar 2020-02-15 18:17:30 -06:00
parent 631b8e772c
commit d0de7865d3
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 1 additions and 1 deletions

@ -120,7 +120,7 @@ static command_result command(color_ostream & out, std::vector<std::string> & pa
Checker checker(out); Checker checker(out);
#define BOOL_PARAM(name) \ #define BOOL_PARAM(name) \
auto name ## _idx = std::find(parameters.cbegin(), parameters.cend(), "-" #name); \ auto name ## _idx = std::find(parameters.begin(), parameters.end(), "-" #name); \
if (name ## _idx != parameters.cend()) \ if (name ## _idx != parameters.cend()) \
{ \ { \
checker.name = true; \ checker.name = true; \