From 37f9d3e2009f77580a6a93ae497b77869dc34824 Mon Sep 17 00:00:00 2001 From: BenDol Date: Tue, 1 Apr 2014 18:09:25 +1300 Subject: [PATCH] Fix building issues. --- src/framework/core/config.cpp | 1 + src/framework/core/config.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; };