* lib/argp.h: Fix compilation with g++-4.6 -std=c++0x.

This commit is contained in:
Alexandre Duret-Lutz 2013-12-18 13:36:13 +01:00
parent 3a406dc3d7
commit cdd7b475b3

View file

@ -620,7 +620,7 @@ __argp_usage (const struct argp_state *__state)
} }
ARGP_EI int ARGP_EI int
__NTH (__option_is_short (const struct argp_option *__opt)) __option_is_short (const struct argp_option *__opt)
{ {
if (__opt->flags & OPTION_DOC) if (__opt->flags & OPTION_DOC)
return 0; return 0;
@ -632,7 +632,7 @@ __NTH (__option_is_short (const struct argp_option *__opt))
} }
ARGP_EI int ARGP_EI int
__NTH (__option_is_end (const struct argp_option *__opt)) __option_is_end (const struct argp_option *__opt)
{ {
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
} }