Merge pull request #13060 from LogvinovLeon/master
Removed redundant cast to c_str() in ConfigMgr::Reload function.
This commit is contained in:
commit
d1183e55b5
1 file changed
+1
-1
@@ -59,7 +59,7 @@ bool ConfigMgr::LoadInitial(std::string const& file, std::string& error)
|
||||
|
||||
bool ConfigMgr::Reload(std::string& error)
|
||||
{
|
||||
return LoadInitial(_filename.c_str(), error);
|
||||
return LoadInitial(_filename, error);
|
||||
}
|
||||
|
||||
std::string ConfigMgr::GetStringDefault(std::string const& name, const std::string& def)
|
||||
|
||||
Reference in new issue
Block a user