mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Add -Wextra-semi compiler flag
Summary: Cleaned up extra semicolons for compatibility with other projects enforcing the flag, included flag in build Reviewed By: lnicco, JunqiWang Differential Revision: D21794945 fbshipit-source-id: ae2ee637aadeef35a99d89f9b8deaa2e7d636ed7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f46dff82e2
commit
8e785bbfc2
@@ -14,31 +14,31 @@ namespace quic {
|
||||
|
||||
std::string getFlowControlEvent(int offset) {
|
||||
return "flow control event, new offset: " + folly::to<std::string>(offset);
|
||||
};
|
||||
}
|
||||
|
||||
std::string
|
||||
getRxStreamWU(StreamId streamId, PacketNum packetNum, uint64_t maximumData) {
|
||||
return "rx stream, streamId: " + folly::to<std::string>(streamId) +
|
||||
", packetNum: " + folly::to<std::string>(packetNum) +
|
||||
", maximumData: " + folly::to<std::string>(maximumData);
|
||||
};
|
||||
}
|
||||
|
||||
std::string getRxConnWU(PacketNum packetNum, uint64_t maximumData) {
|
||||
return "rx, packetNum: " + folly::to<std::string>(packetNum) +
|
||||
", maximumData: " + folly::to<std::string>(maximumData);
|
||||
};
|
||||
}
|
||||
|
||||
std::string getPeerClose(const std::string& peerCloseReason) {
|
||||
return "error message: " + peerCloseReason;
|
||||
};
|
||||
}
|
||||
|
||||
std::string getFlowControlWindowAvailable(uint64_t windowAvailable) {
|
||||
return "on flow control, window available: " +
|
||||
folly::to<std::string>(windowAvailable);
|
||||
};
|
||||
}
|
||||
|
||||
std::string getClosingStream(const std::string& streamId) {
|
||||
return "closing stream, stream id: " + streamId;
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace quic
|
||||
|
||||
Reference in New Issue
Block a user