Commit 94b0bace authored by Rosen Penev's avatar Rosen Penev

convert address_family_ranking to std::array

Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent 061dd2df
......@@ -30,9 +30,10 @@
#include "AddressInfo.hxx"
#include "Features.hxx"
#include <array>
#include <cassert>
static constexpr int address_family_ranking[] = {
static constexpr auto address_family_ranking = std::array {
#ifdef HAVE_UN
AF_LOCAL,
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment