Make more defined classes visible outside the BPrivate namespace when including
this header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35078 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -88,7 +88,8 @@ public:
|
||||
typedef HashMapElement<Key, Value> Element;
|
||||
public:
|
||||
Iterator(const Iterator& other)
|
||||
: fMap(other.fMap),
|
||||
:
|
||||
fMap(other.fMap),
|
||||
fIndex(other.fIndex),
|
||||
fElement(other.fElement),
|
||||
fLastElement(other.fElement)
|
||||
@@ -140,7 +141,8 @@ public:
|
||||
|
||||
private:
|
||||
Iterator(const HashMap<Key, Value>* map)
|
||||
: fMap(const_cast<HashMap<Key, Value>*>(map)),
|
||||
:
|
||||
fMap(const_cast<HashMap<Key, Value>*>(map)),
|
||||
fIndex(0),
|
||||
fElement(NULL),
|
||||
fLastElement(NULL)
|
||||
@@ -345,7 +347,8 @@ struct HashKey64 {
|
||||
// constructor
|
||||
template<typename Key, typename Value>
|
||||
HashMap<Key, Value>::HashMap()
|
||||
: fElementArray(1000),
|
||||
:
|
||||
fElementArray(1000),
|
||||
fTable(1000, &fElementArray)
|
||||
{
|
||||
}
|
||||
@@ -471,5 +474,8 @@ HashMap<Key, Value>::_FindElement(const Key& key) const
|
||||
} // namespace BPrivate
|
||||
|
||||
using BPrivate::HashMap;
|
||||
using BPrivate::HashKey32;
|
||||
using BPrivate::HashKey64;
|
||||
using BPrivate::SynchronizedHashMap;
|
||||
|
||||
#endif // HASH_MAP_H
|
||||
|
||||
Reference in New Issue
Block a user