projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Solaris fixes
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
io
/
HTTPRequest.cpp
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