aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-21 21:32:26 +0100
committerMax Kellermann <max@duempel.org>2015-01-21 21:32:26 +0100
commit6ed209bbf39af94b5c5993ec6c4d88e33c6a7f24 (patch)
tree232bde39a7e88c220ec76f16d82d057e0c22d6f7 /src/config
parentfe85fa3bea023df887811d4dc28dc51b7894525a (diff)
downloadmpd-6ed209bbf39af94b5c5993ec6c4d88e33c6a7f24.tar.gz
mpd-6ed209bbf39af94b5c5993ec6c4d88e33c6a7f24.tar.xz
mpd-6ed209bbf39af94b5c5993ec6c4d88e33c6a7f24.zip
config/Param: make constructor "explicit"
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Param.hxx2
1 files changed, 1 insertions, 1 deletions
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