Skip to content

Commit 2c57190

Browse files
mtrenkmannglynos
authored andcommitted
Fix namespace error with external boost (#125)
* Define network_boost namespace when NETWORK_URI_EXTERNAL_BOOST is defined * Add definition of network_boost namespace
1 parent d8fdaf5 commit 2c57190

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detail/uri_resolve.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <boost/algorithm/string/erase.hpp>
1313
#include <boost/algorithm/string/replace.hpp>
1414
#include <boost/algorithm/string/predicate.hpp>
15+
namespace network_boost = boost;
1516
#else // NETWORK_URI_EXTERNAL_BOOST
1617
#include "../boost/algorithm/string/find.hpp"
1718
#include "../boost/algorithm/string/erase.hpp"

0 commit comments

Comments
 (0)