Skip to content

Commit 8361c2a

Browse files
committed
Update availableHashes
1 parent 8ca8b26 commit 8361c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/RNFS/RNFSManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct RNFSManager final
166166

167167
constexpr static int64_t UNIX_EPOCH_IN_WINRT_INTERVAL = 11644473600 * 10000000;
168168

169-
const std::map<std::string, std::function<CryptographyCore::HashAlgorithmProvider()>> availableHashes{
169+
const std::unordered_map<std::string, std::function<CryptographyCore::HashAlgorithmProvider()>> availableHashes{
170170
{"md5", []() { return CryptographyCore::HashAlgorithmProvider::OpenAlgorithm(CryptographyCore::HashAlgorithmNames::Md5()); } },
171171
{"sha1", []() { return CryptographyCore::HashAlgorithmProvider::OpenAlgorithm(CryptographyCore::HashAlgorithmNames::Sha1()); } },
172172
{"sha256", []() { return CryptographyCore::HashAlgorithmProvider::OpenAlgorithm(CryptographyCore::HashAlgorithmNames::Sha256()); } },

0 commit comments

Comments
 (0)