added real media_server node management, removed bugs, added debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,7 +6,7 @@ template<class key, class value> class Map
|
||||
public:
|
||||
Map() : count(0) {}
|
||||
|
||||
void Insert(const key &k, const value &v)
|
||||
bool Insert(const key &k, const value &v)
|
||||
{
|
||||
value temp;
|
||||
if (count == MAXENT) debugger("template Map out of memory");
|
||||
@@ -14,6 +14,7 @@ public:
|
||||
list[count].k = k;
|
||||
list[count].v = v;
|
||||
count++;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Get(const key &k, value *v)
|
||||
|
||||
Reference in New Issue
Block a user