projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edf0e87
)
Solaris fixes
author
Scott Cantor
<cantor.2@osu.edu>
Mon, 23 Jul 2012 20:07:29 +0000
(20:07 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Mon, 23 Jul 2012 20:07:29 +0000
(20:07 +0000)
xmltooling/io/HTTPRequest.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/HTTPRequest.cpp
b/xmltooling/io/HTTPRequest.cpp
index
f11e76f
..
e4f5038
100644
(file)
--- a/
xmltooling/io/HTTPRequest.cpp
+++ b/
xmltooling/io/HTTPRequest.cpp
@@
-157,17
+157,17
@@
bool GenericRequest::startLangMatching() const
}
m_langRangeIter = m_langRange.rbegin();
}
m_langRangeIter = m_langRange.rbegin();
- return (m_langRangeIter !=
m_langRange
.rend());
+ return (m_langRangeIter !=
const_cast<const langrange_t&>(m_langRange)
.rend());
}
bool GenericRequest::continueLangMatching() const
{
}
bool GenericRequest::continueLangMatching() const
{
- return (++m_langRangeIter !=
m_langRange
.rend());
+ return (++m_langRangeIter !=
const_cast<const langrange_t&>(m_langRange)
.rend());
}
bool GenericRequest::matchLang(const XMLCh* tag) const
{
}
bool GenericRequest::matchLang(const XMLCh* tag) const
{
- if (m_langRangeIter ==
m_langRange
.rend())
+ if (m_langRangeIter ==
const_cast<const langrange_t&>(m_langRange)
.rend())
return false;
// To match against a given range, the range has to be built up and then
return false;
// To match against a given range, the range has to be built up and then