From b3c1bff34b455c7439e562f3c56ca528ca994457 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 30 Jul 2017 15:35:11 -0400 Subject: [PATCH] SysConf: Add explicit to single-argument constructor Prevents implicit construction from FromWhichRoot values. --- Source/Core/Common/SysConf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/SysConf.h b/Source/Core/Common/SysConf.h index 9600e725bd..6b25dc058d 100644 --- a/Source/Core/Common/SysConf.h +++ b/Source/Core/Common/SysConf.h @@ -17,7 +17,7 @@ class SysConf final { public: - SysConf(Common::FromWhichRoot root_type); + explicit SysConf(Common::FromWhichRoot root_type); ~SysConf(); void Clear();