From 6ed209bbf39af94b5c5993ec6c4d88e33c6a7f24 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2015 21:32:26 +0100 Subject: [PATCH] config/Param: make constructor "explicit" --- src/config/Param.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/Param.hxx b/src/config/Param.hxx index 66700044c..7f3737494 100644 --- a/src/config/Param.hxx +++ b/src/config/Param.hxx @@ -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