Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/auriamg/macdylibbundler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Dependency.cpp')
-rw-r--r--src/Dependency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Dependency.cpp b/src/Dependency.cpp
index 66249bd..46edc32 100644
--- a/src/Dependency.cpp
+++ b/src/Dependency.cpp
@@ -45,7 +45,7 @@ std::string stripPrefix(std::string in)
}
std::string& rtrim(std::string &s) {
- s.erase(std::find_if(s.rbegin(), s.rend(), std::not1(std::ptr_fun<int, int>(std::isspace))).base(), s.end());
+ s.erase(std::find_if(s.rbegin(), s.rend(), [](unsigned char c){ return !std::isspace(c); }).base(), s.end());
return s;
}