From a0d1cbb95d47890de2f93906447025380927dabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 13 Feb 2019 10:49:13 +0000 Subject: [PATCH] Revert "netfs: Take advantage of HashKeyPointer." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 279470d55308c1981e0264bf94a9c1b8dd6a29b5. Reason for revert: Commited in wrong order. Change-Id: I1163b12728f19aee4506c95512d0afdea0433362 Reviewed-on: https://review.haiku-os.org/c/1046 Reviewed-by: Stephan Aßmus --- .../kernel/file_systems/netfs/server/SecurityContext.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/netfs/server/SecurityContext.cpp b/src/add-ons/kernel/file_systems/netfs/server/SecurityContext.cpp index 2ad19a4d02..df39137fda 100644 --- a/src/add-ons/kernel/file_systems/netfs/server/SecurityContext.cpp +++ b/src/add-ons/kernel/file_systems/netfs/server/SecurityContext.cpp @@ -525,7 +525,11 @@ SecurityContext::Archive(BMessage* archive, bool deep) const if (!tmpUserArchives) return B_NO_MEMORY; ArrayDeleter deleter(tmpUserArchives); - HashMap, BMessage*> userArchives; +#ifdef B_HAIKU_64_BIT + HashMap, BMessage*> userArchives; +#else + HashMap, BMessage*> userArchives; +#endif int32 i = 0; for (UserMap::Iterator it = fUsers->GetIterator(); it.HasNext();) { User* user = it.Next().value;