From 75eee88a860d6345b09d252d8a8c59d7c56b6589 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 26 Aug 2016 17:52:48 +0200 Subject: [PATCH] dnsdist: tuple requires make_tuple to initialize Fix compilation on Ubuntu Xenial. Reported by Christof Chen (thanks!). --- pdns/dnsdist-dynbpf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-dynbpf.cc b/pdns/dnsdist-dynbpf.cc index d0049d69ce..5550931e5e 100644 --- a/pdns/dnsdist-dynbpf.cc +++ b/pdns/dnsdist-dynbpf.cc @@ -69,7 +69,7 @@ std::vector > DynBPFFilter:: for (const auto& stat : stats) { const container_t::iterator it = d_entries.find(stat.first); if (it != d_entries.end()) { - result.push_back({stat.first, stat.second, it->d_until}); + result.push_back(std::make_tuple(stat.first, stat.second, it->d_until)); } } return result; -- 2.47.2