Skip to content

Commit 002d2d0

Browse files
committed
force the offset to be calculated first to avoid confusing MSVC's checked iterators references zaphoyd#342
Thank you tmoers for reporting
1 parent d8b7cf3 commit 002d2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websocketpp/http/impl/request.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ inline size_t request::consume(const char *buf, size_t len) {
127127
}
128128
}
129129

130-
begin = end+sizeof(header_delimiter)-1;
130+
begin = end+(sizeof(header_delimiter)-1);
131131
}
132132
}
133133

0 commit comments

Comments
 (0)