aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-11 20:15:10 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-11 20:15:10 +0200
commitdfd0e9c97d80c5cd7115d6cbb49cce08168071b6 (patch)
tree7bb5c56c18c83f3180101e310198cb3e3fdf1ab7 /src/p2p/net_node.inl
parentMerge pull request #711 (diff)
parentNeed to link boost::chrono in more places now (diff)
downloadmonero-dfd0e9c97d80c5cd7115d6cbb49cce08168071b6.tar.xz
Merge pull request #712
66c2fc7 Need to link boost::chrono in more places now (Howard Chu) b937a2c Use boost::thread instead of std::thread (Howard Chu)
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 56717ec66..6278db891 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -585,7 +585,7 @@ namespace nodetool
break;
epee::net_utils::data_logger::get_instance().add_data("peers", number_of_peers);
- std::this_thread::sleep_for(std::chrono::seconds(1));
+ boost::this_thread::sleep_for(boost::chrono::seconds(1));
} // main loop of thread
_note("Thread monitor number of peers - done");
})); // lambda