aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-10-09 11:32:06 +0200
committerGitHub <noreply@github.com>2017-10-09 11:32:06 +0200
commit17016090e38cc44e58517129278c28dd7943b4cc (patch)
treea0ba6d0628f333c28b2e584cc6eb6d1ef413aa07 /src/network
parente6e5fa3bf8853f149fdef16b39af3981097176a4 (diff)
downloadminetest-17016090e38cc44e58517129278c28dd7943b4cc.tar.gz
minetest-17016090e38cc44e58517129278c28dd7943b4cc.tar.bz2
minetest-17016090e38cc44e58517129278c28dd7943b4cc.zip
Travis: Update clang from 4.0 to 5.0 (#6467)
* Update clang from 4.0 to 5.0
Diffstat (limited to 'src/network')
-rw-r--r--src/network/peerhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/peerhandler.h b/src/network/peerhandler.h
index 70e416e90..208ab801e 100644
--- a/src/network/peerhandler.h
+++ b/src/network/peerhandler.h
@@ -63,8 +63,8 @@ enum PeerChangeType : u8
struct PeerChange
{
- PeerChange(PeerChangeType t, session_t _peer_id, bool _timeout)
- : type(t), peer_id(_peer_id), timeout(_timeout)
+ PeerChange(PeerChangeType t, session_t _peer_id, bool _timeout) :
+ type(t), peer_id(_peer_id), timeout(_timeout)
{
}
PeerChange() = delete;