Skip to content

Commit

Permalink
Merge pull request #68 from nim65s/devel
Browse files Browse the repository at this point in the history
remove deprecated stuff
  • Loading branch information
nim65s authored Aug 26, 2024
2 parents b69dd64 + e67e465 commit 88a7c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/factories/sequence.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
};

Expand Down

0 comments on commit 88a7c39

Please sign in to comment.