1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 02:07:46 +00:00

maybe fix build

This commit is contained in:
NotAdam 2018-06-10 17:17:16 +00:00
parent fd170f08dd
commit 84542b3927

View file

@ -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;
}