From 84542b3927aad2cdb784ddec49e8a9971530668e Mon Sep 17 00:00:00 2001 From: NotAdam Date: Sun, 10 Jun 2018 17:17:16 +0000 Subject: [PATCH] maybe fix build --- src/common/Config/ConfigMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Config/ConfigMgr.cpp b/src/common/Config/ConfigMgr.cpp index 1740ca54..b19253ea 100644 --- a/src/common/Config/ConfigMgr.cpp +++ b/src/common/Config/ConfigMgr.cpp @@ -54,13 +54,13 @@ bool Core::ConfigMgr::copyDefaultConfig( const std::string& configName ) boost::filesystem::path configPath( m_configFolderRoot ); configPath /= configName; - if( !boost::filesystem::exists( configPath.c_str() + m_configDefaultSuffix ) ) + if( !boost::filesystem::exists( configPath.string() + m_configDefaultSuffix ) ) { // no default file :( return false; } - boost::filesystem::copy_file( configPath.c_str() + m_configDefaultSuffix, configPath ); + boost::filesystem::copy_file( configPath.string() + m_configDefaultSuffix, configPath ); return true; } \ No newline at end of file