[cpp-sp COMMIT] /branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Sat Jan 28 18:33:35 GMT 2012
Author: scantor
Date: Sat Jan 28 18:33:35 2012
New Revision: 3563
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3563&view=rev
Log:
Add typename to template code
Modified:
branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
Modified: branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp?rev=3563&r1=3562&r2=3563&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp (original)
+++ branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp Sat Jan 28 18:33:35 2012
@@ -257,7 +257,7 @@
T* match = nullptr;
if (request && request->startLangMatching()) {
do {
- for (vector<T*>::const_iterator i = objects.begin(); !match && i != objects.end(); ++i) {
+ for (typename vector<T*>::const_iterator i = objects.begin(); !match && i != objects.end(); ++i) {
if (request->matchLang((*i)->getLang()))
match = *i;
}
More information about the commits
mailing list