Skip to content

Commit

Permalink
dnsdist: tuple requires make_tuple to initialize
Browse files Browse the repository at this point in the history
Fix compilation on Ubuntu Xenial.
Reported by Christof Chen (thanks!).
  • Loading branch information
rgacogne committed Aug 26, 2016
1 parent 6fe183c commit 75eee88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dnsdist-dynbpf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ std::vector<std::tuple<ComboAddress, uint64_t, struct timespec> > 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;
Expand Down

0 comments on commit 75eee88

Please sign in to comment.