From 079360ae6e04d3f2245e00d70f83d15c5cad3630 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 29 Jun 2022 10:05:19 -0700 Subject: Prepare for boost::url upgrade The new boost URL now interops properly with std::string_view, which is great, and cleans up a bunch of mediocre code to convert one to another. It has also been pulled into boost-proper, so we no longer need a boost-url dependency that's separate. Unfortunately, boost url makes these improvements by changing boost::string_view for boost::urls::const_string, which causes us to have some compile errors on the missing type. The bulk of these changes fall into a couple categories, and have to be executed in one commit. string() is replaced with buffer() on the url and url_view types boost::string_view is replaced by std::string_view for many times, in many cases removing a temporary that we had in the code previously. Tested: Code compiles with boost 1.81.0 beta. Redfish service validator passes. Pretty good unit test coverage for URL-specific use cases. Signed-off-by: Ed Tanous Change-Id: I8d3dc89b53d1cc390887fe53605d4867f75f76fd --- subprojects/boost-url.wrap | 6 ------ subprojects/boost.wrap | 8 ++++---- 2 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 subprojects/boost-url.wrap (limited to 'subprojects') diff --git a/subprojects/boost-url.wrap b/subprojects/boost-url.wrap deleted file mode 100644 index d19baba12f..0000000000 --- a/subprojects/boost-url.wrap +++ /dev/null @@ -1,6 +0,0 @@ -[wrap-git] -directory = boost-url-git - -revision = d740a92d38e3a8f4d5b2153f53b82f1c98e312ab -url = https://github.com/CPPAlliance/url.git -patch_directory = boost-url diff --git a/subprojects/boost.wrap b/subprojects/boost.wrap index 75735f4d0a..1e44ebfece 100644 --- a/subprojects/boost.wrap +++ b/subprojects/boost.wrap @@ -1,9 +1,9 @@ [wrap-file] -directory = boost_1_80_0 +directory = boost_1_81_0 -source_url = https://downloads.yoctoproject.org/mirror/sources/boost_1_80_0.tar.bz2 -source_hash = 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0 -source_filename = 1_80_0.tar.bz2 +source_url = https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.bz2 +source_hash = 941c568e7ac79aa448ac28c98a5ec391fd1317170953c487bcf977c6ee6061ce +source_filename = 1_81_0.tar.bz2 patch_directory = boost -- cgit v1.2.3