Skip to content
Snippets Groups Projects
Unverified Commit 88a7c39d authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #68 from nim65s/devel

remove deprecated stuff
parents b69dd647 e67e465c
No related branches found
No related tags found
No related merge requests found
......@@ -67,10 +67,7 @@ HPP_UTIL_LOCAL void makeDirectory(const std::string& filename) {
using namespace boost::filesystem;
path pathname(filename);
// FIXME: Boost 1.34.1 does not support the non-obsolete
// equivalent of branch_path, parent_path, so bear with
// it for now.
std::string dirname = pathname.branch_path().string();
std::string dirname = pathname.parent_path().string();
boost::filesystem::create_directories(dirname);
}
......
......@@ -45,7 +45,7 @@ namespace {
#define TIXML_SSCANF sscanf
#endif
struct StringIsEmpty : public std::unary_function<std::string, bool> {
struct StringIsEmpty {
bool operator()(std::string s) const { return s.empty(); }
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment