headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than
Tracker's OpenHashTable.h which it should eventually replace. We've renamed the class to BOpenHashTable and changed the interface slightly so that HashTableLink became superfluous. Adapted all the code that used it. Since the OpenHashTables no longer clash, this should fix the GCC4 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31791 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
|
||||
struct TeamDebugger::ImageHandler : public Referenceable,
|
||||
public HashTableLink<ImageHandler>, private LocatableFile::Listener {
|
||||
private LocatableFile::Listener {
|
||||
public:
|
||||
ImageHandler(TeamDebugger* teamDebugger, Image* image)
|
||||
:
|
||||
@@ -85,6 +85,9 @@ private:
|
||||
private:
|
||||
TeamDebugger* fTeamDebugger;
|
||||
Image* fImage;
|
||||
|
||||
public:
|
||||
ImageHandler* fNext;
|
||||
};
|
||||
|
||||
|
||||
@@ -110,9 +113,9 @@ struct TeamDebugger::ImageHandlerHashDefinition {
|
||||
return value->ImageID() == key;
|
||||
}
|
||||
|
||||
HashTableLink<ImageHandler>* GetLink(ImageHandler* value) const
|
||||
ImageHandler*& GetLink(ImageHandler* value) const
|
||||
{
|
||||
return value;
|
||||
return value->fNext;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user