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
@@ -16,49 +16,49 @@ namespace quic {
|
||||
QuicTransportException::QuicTransportException(
|
||||
const std::string& msg,
|
||||
TransportErrorCode errCode)
|
||||
: std::runtime_error(msg), errCode_(errCode){};
|
||||
: std::runtime_error(msg), errCode_(errCode) {}
|
||||
|
||||
QuicTransportException::QuicTransportException(
|
||||
const char* msg,
|
||||
TransportErrorCode errCode)
|
||||
: std::runtime_error(msg), errCode_(errCode){};
|
||||
: std::runtime_error(msg), errCode_(errCode) {}
|
||||
|
||||
QuicTransportException::QuicTransportException(
|
||||
const std::string& msg,
|
||||
TransportErrorCode errCode,
|
||||
FrameType frameType)
|
||||
: std::runtime_error(msg), errCode_(errCode), frameType_(frameType){};
|
||||
: std::runtime_error(msg), errCode_(errCode), frameType_(frameType) {}
|
||||
|
||||
QuicTransportException::QuicTransportException(
|
||||
const char* msg,
|
||||
TransportErrorCode errCode,
|
||||
FrameType frameType)
|
||||
: std::runtime_error(msg), errCode_(errCode), frameType_(frameType){};
|
||||
: std::runtime_error(msg), errCode_(errCode), frameType_(frameType) {}
|
||||
|
||||
QuicInternalException::QuicInternalException(
|
||||
const std::string& msg,
|
||||
LocalErrorCode errCode)
|
||||
: std::runtime_error(msg), errorCode_(errCode){};
|
||||
: std::runtime_error(msg), errorCode_(errCode) {}
|
||||
|
||||
QuicInternalException::QuicInternalException(
|
||||
const char* msg,
|
||||
LocalErrorCode errCode)
|
||||
: std::runtime_error(msg), errorCode_(errCode){};
|
||||
: std::runtime_error(msg), errorCode_(errCode) {}
|
||||
|
||||
QuicInternalException::QuicInternalException(
|
||||
folly::StringPiece msg,
|
||||
LocalErrorCode errCode)
|
||||
: std::runtime_error(folly::to<std::string>(msg)), errorCode_(errCode){};
|
||||
: std::runtime_error(folly::to<std::string>(msg)), errorCode_(errCode) {}
|
||||
|
||||
QuicApplicationException::QuicApplicationException(
|
||||
const std::string& msg,
|
||||
ApplicationErrorCode errorCode)
|
||||
: std::runtime_error(msg), errorCode_(errorCode){};
|
||||
: std::runtime_error(msg), errorCode_(errorCode) {}
|
||||
|
||||
QuicApplicationException::QuicApplicationException(
|
||||
const char* msg,
|
||||
ApplicationErrorCode errorCode)
|
||||
: std::runtime_error(msg), errorCode_(errorCode){};
|
||||
: std::runtime_error(msg), errorCode_(errorCode) {}
|
||||
|
||||
folly::StringPiece toString(LocalErrorCode code) {
|
||||
switch (code) {
|
||||
|
||||
Reference in New Issue
Block a user