mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
[net] Remove CombinerAll
This was introduced in9519a9a4for use with boost signals. Boost signals have not been used in net since8ad663c1, so this code is unused
This commit is contained in:
15
src/net.h
15
src/net.h
@@ -595,21 +595,6 @@ void InterruptMapPort();
|
||||
void StopMapPort();
|
||||
uint16_t GetListenPort();
|
||||
|
||||
struct CombinerAll
|
||||
{
|
||||
typedef bool result_type;
|
||||
|
||||
template<typename I>
|
||||
bool operator()(I first, I last) const
|
||||
{
|
||||
while (first != last) {
|
||||
if (!(*first)) return false;
|
||||
++first;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Interface for message handling
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user