Commit 2744ad51 authored by Michal Vaner's avatar Michal Vaner
Browse files

Fix includes and calls to boost::bind()

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3841 e5f2f494-b856-4b98-b285-d166d9295462
parent fe06277e
......@@ -17,6 +17,7 @@
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/foreach.hpp>
#include <boost/bind.hpp>
#include <config.h>
#include <dns/rdataclass.h>
......
......@@ -20,7 +20,7 @@
#include <algorithm>
#include <boost/foreach.hpp>
#include <boost/random.hpp>
#include <boost/bind.hpp>
#include <dns/rrttl.h>
#include <dns/rdataclass.h>
......@@ -137,7 +137,7 @@ class ZoneEntry::ResolverCallback : public ResolverInterface::Callback {
string ns_name_str(ns_name.toText());
pair<bool, NameserverPtr> from_hash(
entry_->nameserver_table_->getOrAdd(HashKey(
ns_name_str, entry_->class_code_), bind(
ns_name_str, entry_->class_code_), boost::bind(
newNs, &ns_name_str, &entry_->class_code_)));
// Make it at the front of the list
if (from_hash.first) {
......
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