[cpp-sp] branch main updated: Cleanup some unused Boost headers.

Scott Cantor cantor.2 at osu.edu
Fri Oct 17 13:48:11 UTC 2025


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e8caaab0f4a1edef0c6b4410000b76bd9355dad6

The following commit(s) were added to refs/heads/main by this push:
     new e8caaab0 Cleanup some unused Boost headers.
e8caaab0 is described below

commit e8caaab0f4a1edef0c6b4410000b76bd9355dad6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Oct 17 09:48:08 2025 -0400

    Cleanup some unused Boost headers.
---
 configure.ac                   | 1 +
 shibsp/io/impl/HTTPRequest.cpp | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8841c71c..cfb2022e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,6 +72,7 @@ AX_CXX_COMPILE_STDCXX([17],,[optional])
 BOOST_REQUIRE
 BOOST_PROPERTYTREE
 BOOST_STRING_ALGO
+BOOST_TOKENIZER
 BOOST_TEST
 
 ## Use Boost for regex?
diff --git a/shibsp/io/impl/HTTPRequest.cpp b/shibsp/io/impl/HTTPRequest.cpp
index 2595a80d..10a09a6f 100644
--- a/shibsp/io/impl/HTTPRequest.cpp
+++ b/shibsp/io/impl/HTTPRequest.cpp
@@ -24,14 +24,9 @@
 
 #include <cstring>
 #include <algorithm>
-#include <boost/algorithm/string.hpp>
-#define BOOST_BIND_GLOBAL_PLACEHOLDERS
-#include <boost/bind.hpp>
 #include <boost/lexical_cast.hpp>
-#include <boost/tokenizer.hpp>
 
 using namespace shibsp;
-using namespace boost;
 using namespace std;
 
 GenericRequest::GenericRequest()
@@ -56,7 +51,7 @@ void GenericRequest::absolutize(string& url) const
         const char* scheme = getScheme();
         string root = string(scheme) + "://" + getHostname();
         if (!isDefaultPort())
-            root += ":" + lexical_cast<string>(getPort());
+            root += ":" + boost::lexical_cast<string>(getPort());
         url = root + url;
     }
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list