aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-10-08 12:18:28 +0100
committerJohn Newbery <john@johnnewbery.com>2020-10-08 12:28:38 +0100
commit1afcd41a906e6417925e80578c0d850d269dc008 (patch)
treed08c4cd655a4462a669d83f56879a4d7c2cad076 /src/net.h
parent9dd4de2832e298398436b957375d62de67f0a928 (diff)
downloadbitcoin-1afcd41a906e6417925e80578c0d850d269dc008.tar.xz
[net] Remove CombinerAll
This was introduced in 9519a9a4 for use with boost signals. Boost signals have not been used in net since 8ad663c1, so this code is unused
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/net.h b/src/net.h
index 1051511f54..2b99d3bd9d 100644
--- a/src/net.h
+++ b/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
*/