config/Param: make constructor "explicit"

This commit is contained in:
Max Kellermann 2015-01-21 21:32:26 +01:00
parent fe85fa3bea
commit 6ed209bbf3
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ struct config_param {
*/
bool used;
config_param(int _line=-1)
explicit config_param(int _line=-1)
:next(nullptr), line(_line), used(false) {}
gcc_nonnull_all