From e716a738dc9bc91a9f07cac5c83951cfe20b111a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 25 Sep 2016 19:19:20 +0200 Subject: [PATCH] SysConf: In-class initialise member variables --- Source/Core/Common/SysConf.cpp | 2 +- Source/Core/Common/SysConf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp index d6aed4f29e..980318c06b 100644 --- a/Source/Core/Common/SysConf.cpp +++ b/Source/Core/Common/SysConf.cpp @@ -17,7 +17,7 @@ #include "Core/Movie.h" -SysConf::SysConf() : m_IsValid(false) +SysConf::SysConf() { UpdateLocation(); } diff --git a/Source/Core/Common/SysConf.h b/Source/Core/Common/SysConf.h index 83bed95a4f..e500267c53 100644 --- a/Source/Core/Common/SysConf.h +++ b/Source/Core/Common/SysConf.h @@ -182,5 +182,5 @@ private: std::string m_Filename; std::string m_FilenameDefault; std::vector m_Entries; - bool m_IsValid; + bool m_IsValid = false; };