Skip to content

Commit

Permalink
Fixed reorder warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Dec 8, 2019
1 parent 04df12b commit b145182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sctptransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ void SctpTransport::GlobalCleanup() {

SctpTransport::SctpTransport(std::shared_ptr<Transport> lower, uint16_t port, message_callback recv,
sent_callback sentCallback, state_callback stateChangeCallback)
: Transport(lower), mPort(port), mState(State::Disconnected),
mSentCallback(std::move(sentCallback)), mStateChangeCallback(std::move(stateChangeCallback)) {

: Transport(lower), mPort(port), mSentCallback(std::move(sentCallback)),
mStateChangeCallback(std::move(stateChangeCallback)) {
mState = State::Disconnected;
onRecv(recv);

GlobalInit();
Expand Down

0 comments on commit b145182

Please sign in to comment.