diff --git a/src/framework/core/config.cpp b/src/framework/core/config.cpp index 5dadf37b..ae1543ef 100644 --- a/src/framework/core/config.cpp +++ b/src/framework/core/config.cpp @@ -28,6 +28,7 @@ Config::Config() { m_confsDoc = OTMLDocument::create(); + m_fileName = ""; } bool Config::load(const std::string& file) diff --git a/src/framework/core/config.h b/src/framework/core/config.h index 823cc2e7..55e1aa69 100644 --- a/src/framework/core/config.h +++ b/src/framework/core/config.h @@ -58,7 +58,7 @@ public: ConfigPtr asConfig() { return static_self_cast(); } private: - std::string m_fileName = ""; + std::string m_fileName; OTMLDocumentPtr m_confsDoc; };