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:
parent
fd170f08dd
commit
84542b3927
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue