Skip to content

Commit

Permalink
Simplify namespace usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadareski committed Jan 2, 2025
1 parent f7346b2 commit dc3cb0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions SabreTools.Hashing/HashWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
using System.Security.Cryptography;
using Aaru.Checksums;
using Aaru.CommonTypes.Interfaces;
#if NET7_0_OR_GREATER
using Blake3;
#endif
using SabreTools.Hashing.Checksum;
using SabreTools.Hashing.CryptographicHash;
using SabreTools.Hashing.NonCryptographicHash;
Expand Down Expand Up @@ -127,7 +124,7 @@ private void GetHasher()
HashType.Adler32 => new Adler32(),

#if NET7_0_OR_GREATER
HashType.BLAKE3 => new Blake3HashAlgorithm(),
HashType.BLAKE3 => new Blake3.Blake3HashAlgorithm(),
#endif

HashType.CRC1_ZERO => new Crc(StandardDefinitions.CRC1_ZERO),
Expand Down

0 comments on commit dc3cb0b

Please sign in to comment.