whitespace cleanup

This commit is contained in:
Steven Siloti 2015-11-22 09:31:10 -08:00
parent 4cd2a35d9d
commit 6c5bed63d3
2 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@ get_item::get_item(
, nodes_callback const& ncallback)
: find_data(dht_node, item_target_id(
std::make_pair(salt.c_str(), int(salt.size())), pk)
, ncallback)
, ncallback)
, m_data_callback(dcallback)
, m_data(pk, salt)
, m_immutable(false)

View File

@ -462,13 +462,13 @@ namespace {
void put(std::vector<std::pair<node_entry, std::string> > const& nodes
, boost::intrusive_ptr<dht::put_data> ta)
{
ta->set_targets(nodes);
ta->set_targets(nodes);
ta->start();
}
void put_data_cb(item& i, bool auth
, boost::intrusive_ptr<put_data> ta
, boost::function<void(item&)> f)
, boost::intrusive_ptr<put_data> ta
, boost::function<void(item&)> f)
{
// call data_callback only when we got authoritative data.
if (auth)