[cpp-xmltooling] branch master updated: SSPCPP-847 - Macport build fails with linker error
Scott Cantor
cantor.2 at osu.edu
Thu Mar 7 15:31:02 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=4b2cb288f985a00b9ead48d906835c2aa348a4e5
The following commit(s) were added to refs/heads/master by this push:
new 4b2cb28 SSPCPP-847 - Macport build fails with linker error
4b2cb28 is described below
commit 4b2cb288f985a00b9ead48d906835c2aa348a4e5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Mar 7 15:30:24 2019 -0500
SSPCPP-847 - Macport build fails with linker error
https://issues.shibboleth.net/jira/browse/SSPCPP-847
Remediate improper boost::bind call.
---
xmltooling/util/ParserPool.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/xmltooling/util/ParserPool.cpp b/xmltooling/util/ParserPool.cpp
index da23846..a11c15c 100644
--- a/xmltooling/util/ParserPool.cpp
+++ b/xmltooling/util/ParserPool.cpp
@@ -234,8 +234,11 @@ bool ParserPool::loadCatalogs(const char* pathnames)
trim(temp);
vector<string> catpaths;
split(catpaths, temp, is_any_of(PATH_SEPARATOR_STR), algorithm::token_compress_on);
- static bool (ParserPool::* lc)(const char*) = &ParserPool::loadCatalog;
- for_each(catpaths.begin(), catpaths.end(), boost::bind(lc, this, boost::bind(&string::c_str, _1)));
+
+ for (vector<string>::const_iterator i = catpaths.begin(); i != catpaths.end(); ++i) {
+ loadCatalog(i->c_str());
+ }
+
return !catpaths.empty();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list