[SERVER-4042] convert HashTable::iterAll() to use boost::bind instead of function callback Created: 09/Oct/11 Updated: 03/Jul/14 Resolved: 25/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Guanqun Lu | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | namespace | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
as in util/hashtab.h: and in db/namespace.cpp: And I took a little time to look at this piece of code and find it's easy to translate the function callback into using boost::bind. Pull request here: https://github.com/mongodb/mongo/pull/109 Commit here: https://github.com/guanqun/mongo/commit/ff8246b38184a72464f2a1fb50d30da6a328e792 Please review and possibly merge it. |
| Comments |
| Comment by Githook User [ 25/Jun/14 ] |
|
Author: {u'username': u'guanqun', u'name': u'Lu Guanqun', u'email': u'guanqun.lu@gmail.com'}Message: Signed-off-by: Benety Goh <benety@mongodb.com> |