diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-17 10:34:50 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-21 08:05:07 -0400 |
commit | b3712d70b80c2b5ba936a4d74c6def5ca150682d (patch) | |
tree | 8e28dc2f3ad13688033363c395774b6294d38bf3 /src/mongo/util/unordered_fast_key_table.h | |
parent | 6870e3e7494a8209070cf952cde5a6d5748b5381 (diff) | |
download | mongo-b3712d70b80c2b5ba936a4d74c6def5ca150682d.tar.gz |
SERVER-14586 add toBSON() methods to ReplicaSetConfig and MemberConfig classes
Diffstat (limited to 'src/mongo/util/unordered_fast_key_table.h')
-rw-r--r-- | src/mongo/util/unordered_fast_key_table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/unordered_fast_key_table.h b/src/mongo/util/unordered_fast_key_table.h index 47b0a81552d..e7d670cc24d 100644 --- a/src/mongo/util/unordered_fast_key_table.h +++ b/src/mongo/util/unordered_fast_key_table.h @@ -149,6 +149,8 @@ namespace mongo { const value_type* operator->() const { return &_area->_entries[_position].data; } + const value_type& operator*() const { return _area->_entries[_position].data; } + const_iterator operator++() { if ( _position < 0 ) return *this; |