clang-tidy: Reorder NetworkInfo attributes to avoid excessive padding
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 3 Sep 2018 23:18:10 +0000 (01:18 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Sep 2018 06:02:07 +0000 (08:02 +0200)
commitce221dcdce9f39596adf115b05057023c31bde4e
tree60706ac8b3f0e2a186c726eb81d6a34ee1870cb2
parent46827e485df7665e31b3ed340da9c2eb4e27bce6
clang-tidy: Reorder NetworkInfo attributes to avoid excessive padding

Use a more optimal attribute order to avoid excessive padding in the
NetworkInfo struct.
Remove the default constructor in favor of direct initialization.
Rewrite the comparison operator using a boolean expression instead
of a bunch of conditions.
src/common/network.cpp
src/common/network.h