Skip to content

Commit

Permalink
Fix: field '_lastRestart' will be initialized after field '_tcpFallba…
Browse files Browse the repository at this point in the history
…ckTunnel' [-Wreorder-ctor]
  • Loading branch information
bostick committed Aug 2, 2023
1 parent 02dbc8f commit 6fe2d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ NodeService::NodeService()
, _allowTcpRelay(true)
, _forceTcpRelay(false)
, _lastSendToGlobalV4(0)
, _lastRestart(0)
, _tcpFallbackTunnel((TcpConnection*)0)
, _lastRestart(0)
, _nextBackgroundTaskDeadline(0)
, _run(false)
, _termReason(ONE_STILL_RUNNING)
Expand Down

0 comments on commit 6fe2d49

Please sign in to comment.