reference instead of copy, removing forgotten cout

This commit is contained in:
Simon Désaulniers authored and Adrien Béraud committed 2016-05-02 15:25:15 -04:00
1 parent 4aad11f003
commit ba5953bc6b
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -172,7 +172,6 @@ void cmd_loop(DhtRunner& dht, dht_params& params)
});
}
else if (op == "l") {
std::cout << id << std::endl;
dht.listen(id, [](std::shared_ptr<Value> value) {
std::cout << "Listen: found value:" << std::endl;
std::cout << "\t" << *value << std::endl;