diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-11 14:40:43 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-11 15:01:31 +0200 |
commit | a8d911c021c92d424882003cf22cf4e154ec5ea2 (patch) | |
tree | 6ca29dc705bdc7b9790c5f4d5db35642ecb847b8 /include/hashcomp.h | |
parent | 03a8a981f16543b555172a3d426feac858d96576 (diff) |
Don't manage memory manually for the commasepstream in irc::portparser
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 36d45dc64..59986e66f 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -441,7 +441,7 @@ namespace irc /** Used to split on commas */ - commasepstream* sep; + commasepstream sep; /** Current position in a range of ports */ @@ -475,10 +475,6 @@ namespace irc */ portparser(const std::string &source, bool allow_overlapped = true); - /** Frees the internal commasepstream object - */ - ~portparser(); - /** Fetch the next token from the stream * @return The next port number is returned, or 0 if none remain */ |