[cpp-xmltooling] branch master updated: Remove C++11 feature.
Scott Cantor
cantor.2 at osu.edu
Thu Apr 2 10:02:20 EDT 2020
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=46e4f0165552ba38c11db05de22d1d3d23eb12e9
The following commit(s) were added to refs/heads/master by this push:
new 46e4f01 Remove C++11 feature.
46e4f01 is described below
commit 46e4f0165552ba38c11db05de22d1d3d23eb12e9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 2 10:02:16 2020 -0400
Remove C++11 feature.
---
xmltooling/io/HTTPRequest.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xmltooling/io/HTTPRequest.cpp b/xmltooling/io/HTTPRequest.cpp
index 3c00372..df10232 100644
--- a/xmltooling/io/HTTPRequest.cpp
+++ b/xmltooling/io/HTTPRequest.cpp
@@ -224,7 +224,7 @@ namespace {
if (nvpair.size() == 2) {
trim(nvpair[0]);
if (ends_with(nvpair[0], "_fgwars")) {
- nvpair[0].erase(nvpair[0].cend() - 7, nvpair[0].cend());
+ nvpair[0].erase(nvpair[0].end() - 7, nvpair[0].end());
}
cookieMap[nvpair[0]] = nvpair[1];
}
@@ -248,7 +248,7 @@ const char* HTTPRequest::getCookie(const char* name) const
return getCookie(name, false);
}
-const char* HTTPRequest::getCookie(const char* name, bool sameSiteFallback) const
+const char* HTTPRequest::getCookie(const char* name, bool) const
{
// The fallback support is implemented via the getCookies() load above
// so we ignore it here.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list