diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 11:30:10 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 11:55:54 +0100 | 
| commit | feb26e30c1b0c49c771d9c8d162d064af1f988cb (patch) | |
| tree | 8cc53f694c6dc0b76e453eb78a64083eafa05dc0 | |
| parent | C++17 (diff) | |
| download | libadhocutil-feb26e30c1b0c49c771d9c8d162d064af1f988cb.tar.bz2 libadhocutil-feb26e30c1b0c49c771d9c8d162d064af1f988cb.tar.xz libadhocutil-feb26e30c1b0c49c771d9c8d162d064af1f988cb.zip  | |
C++17
Remove all boost things now in the standard library from uriParse.
| -rw-r--r-- | libadhocutil/uriParse.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/libadhocutil/uriParse.h b/libadhocutil/uriParse.h index 0fa378a..0d8e302 100644 --- a/libadhocutil/uriParse.h +++ b/libadhocutil/uriParse.h @@ -3,7 +3,7 @@  #include "visibility.h"  #include "exception.h" -#include <boost/optional.hpp> +#include <optional>  #include <boost/filesystem/path.hpp>  #include <string>  #include <map> @@ -21,19 +21,19 @@ namespace AdHoc {  			/// The scheme.  			std::string scheme;  			/// The optional username. -			boost::optional<std::string> username; +			std::optional<std::string> username;  			/// The optional password. -			boost::optional<std::string> password; +			std::optional<std::string> password;  			/// The host.  			std::string host;  			/// The optional port. -			boost::optional<uint16_t> port; +			std::optional<uint16_t> port;  			/// The optional path. -			boost::optional<boost::filesystem::path> path; +			std::optional<boost::filesystem::path> path;  			/// The parsed components of the query string.  			std::multimap<std::string, std::string> query;  			/// The optional fragment. -			boost::optional<std::string> fragment; +			std::optional<std::string> fragment;  	};  	/**  | 
