[cpp-opensaml] branch main updated: Fix syntax issue on some compilers.
Scott Cantor
cantor.2 at osu.edu
Tue Nov 16 15:58:00 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=e5ef0c7e2b8579d39624c8caa61016a4abbda82d
The following commit(s) were added to refs/heads/main by this push:
new e5ef0c7 Fix syntax issue on some compilers.
e5ef0c7 is described below
commit e5ef0c7e2b8579d39624c8caa61016a4abbda82d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Nov 16 10:57:55 2021 -0500
Fix syntax issue on some compilers.
---
saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp b/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
index f4b718c..d70422f 100644
--- a/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
+++ b/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
@@ -127,7 +127,7 @@ bool EntityAttributesEntityMatcher::matches(const EntityDescriptor& entity) cons
if (xo) {
extFound = true;
// If we find a matching tag, we win. Each tag is treated in OR fashion.
- for (vector<boost::shared_ptr<Attribute>>::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) {
+ for (vector< boost::shared_ptr<Attribute> >::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) {
if (_matches(dynamic_cast<const EntityAttributes*>(xo), i->get())) {
return true;
}
@@ -144,7 +144,7 @@ bool EntityAttributesEntityMatcher::matches(const EntityDescriptor& entity) cons
if (xo) {
extFound = true;
// If we find a matching tag, we win. Each tag is treated in OR fashion.
- for (vector<boost::shared_ptr<Attribute>>::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) {
+ for (vector< boost::shared_ptr<Attribute> >::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) {
if (_matches(dynamic_cast<const EntityAttributes*>(xo), i->get())) {
return true;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list