force the offset to be calculated first to avoid confusing MSVC's checked iterators references #342
Thank you tmoers for reporting
This commit is contained in:
1 parent
d8b7cf3fdc
commit
002d2d0007
1 file changed
+1
-1
@@ -127,7 +127,7 @@ inline size_t request::consume(const char *buf, size_t len) {
|
||||
}
|
||||
}
|
||||
|
||||
begin = end+sizeof(header_delimiter)-1;
|
||||
begin = end+(sizeof(header_delimiter)-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user