mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-03 23:37:59 +03:00
replace boost::bind
This commit is contained in:
parent
b7c27e5e96
commit
98752a9702
3 changed files with 4 additions and 8 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include <components/files/escape.hpp>
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/algorithm/string/erase.hpp>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <boost/filesystem/fstream.hpp>
|
||||
|
@ -130,7 +129,7 @@ void ConfigurationManager::processPaths(Files::PathContainer& dataDirs, bool cre
|
|||
}
|
||||
|
||||
dataDirs.erase(std::remove_if(dataDirs.begin(), dataDirs.end(),
|
||||
boost::bind(&boost::filesystem::path::empty, _1)), dataDirs.end());
|
||||
std::bind(&boost::filesystem::path::empty, std::placeholders::_1)), dataDirs.end());
|
||||
}
|
||||
|
||||
bool ConfigurationManager::loadConfig(const boost::filesystem::path& path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue