Skip to content

Commit a90e34b

Browse files
committed
Fixing error with MSVC not recognizing or as a keyword; fixes cpp-netlib#2.
1 parent 6512d4c commit a90e34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/uri/http/detail/parse_specific.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace boost { namespace network { namespace uri {
6868
namespace qi = spirit::qi;
6969

7070
// Require that parts.scheme is either http or https, case insensitive
71-
if (parts.scheme.size() < 4 or parts.scheme.size() > 5)
71+
if ((parts.scheme.size() < 4) || (parts.scheme.size() > 5))
7272
return false;
7373
if (parts.scheme.size() == 4) {
7474
if (not boost::iequals(parts.scheme.substr(0, 4), "http"))

0 commit comments

Comments
 (0)