Skip to content

Commit d8fdaf5

Browse files
mtrenkmannglynos
authored andcommitted
Define network_boost namespace when NETWORK_URI_EXTERNAL_BOOST is defined (#124)
1 parent 4fb380f commit d8fdaf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/detail/uri_normalize.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifdef NETWORK_URI_EXTERNAL_BOOST
1111
#include <boost/algorithm/string/split.hpp>
1212
#include <boost/algorithm/string/join.hpp>
13+
namespace network_boost = boost;
1314
#else // NETWORK_URI_EXTERNAL_BOOST
1415
#include "../boost/algorithm/string/split.hpp"
1516
#include "../boost/algorithm/string/join.hpp"
@@ -50,7 +51,7 @@ std::string normalize_path_segments(string_view path) {
5051
for (const auto &segment : normalized_segments) {
5152
result += "/" + segment;
5253
}
53-
54+
5455
if (last_segment_is_slash) {
5556
result += "/";
5657
}

0 commit comments

Comments
 (0)