Revert "netfs: Take advantage of HashKeyPointer."
This reverts commit 279470d553
.
Reason for revert: Commited in wrong order.
Change-Id: I1163b12728f19aee4506c95512d0afdea0433362
Reviewed-on: https://review.haiku-os.org/c/1046
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
parent
279470d553
commit
a0d1cbb95d
@ -525,7 +525,11 @@ SecurityContext::Archive(BMessage* archive, bool deep) const
|
||||
if (!tmpUserArchives)
|
||||
return B_NO_MEMORY;
|
||||
ArrayDeleter<BMessage> deleter(tmpUserArchives);
|
||||
HashMap<HashKeyPointer<User*>, BMessage*> userArchives;
|
||||
#ifdef B_HAIKU_64_BIT
|
||||
HashMap<HashKey64<User*>, BMessage*> userArchives;
|
||||
#else
|
||||
HashMap<HashKey32<User*>, BMessage*> userArchives;
|
||||
#endif
|
||||
int32 i = 0;
|
||||
for (UserMap::Iterator it = fUsers->GetIterator(); it.HasNext();) {
|
||||
User* user = it.Next().value;
|
||||
|
Loading…
Reference in New Issue
Block a user