mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Replace folly::Optional::hasValue() by has_value()
Differential Revision: D19882830 fbshipit-source-id: 031217f9890351022bc8d171f0ccd7e045dd6972
This commit is contained in:
committed by
Facebook Github Bot
parent
2c04d99cda
commit
a396f62335
@@ -346,7 +346,7 @@ ReadStreamFrame decodeStreamFrame(
|
||||
}
|
||||
}
|
||||
Buf data;
|
||||
if (dataLength.hasValue()) {
|
||||
if (dataLength.has_value()) {
|
||||
if (cursor.totalLength() < dataLength->first) {
|
||||
throw QuicTransportException(
|
||||
"Length mismatch",
|
||||
|
||||
Reference in New Issue
Block a user