summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-09 12:23:33 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-11 15:01:31 +0200
commit03a8a981f16543b555172a3d426feac858d96576 (patch)
tree72a947a66a31931db8e5d6a0674d43be5883a883 /include
parent655387286ab0517c9cdb905d67fad74f80cda241 (diff)
Use std::set instead of std::map in irc::portparser
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 0340cb634..36d45dc64 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -462,7 +462,7 @@ namespace irc
/** Used to determine overlapping of ports
* without O(n) algorithm being used
*/
- std::map<long, bool> overlap_set;
+ std::set<long> overlap_set;
/** Returns true if val overlaps an existing range
*/