summaryrefslogtreecommitdiff
path: root/src/core/crypto/key_manager.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-05-16 01:35:46 -0700
committerGravatar GitHub2021-05-16 01:35:46 -0700
commitad6e20cfdee573cf2abc2b6ffc749726a56b3354 (patch)
treea72d953f095188960382e115138d69d0667db6d9 /src/core/crypto/key_manager.cpp
parentMerge pull request #6307 from Morph1984/fix-response-push-size (diff)
parentcore: Make variable shadowing a compile-time error (diff)
downloadyuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.gz
yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.xz
yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.zip
Merge pull request #6296 from lioncash/shadow-error
core: Make variable shadowing a compile-time error
Diffstat (limited to 'src/core/crypto/key_manager.cpp')
-rw-r--r--src/core/crypto/key_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 070ed439e..a4b739c63 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -458,7 +458,7 @@ static std::array<u8, size> operator^(const std::array<u8, size>& lhs,
458 const std::array<u8, size>& rhs) { 458 const std::array<u8, size>& rhs) {
459 std::array<u8, size> out; 459 std::array<u8, size> out;
460 std::transform(lhs.begin(), lhs.end(), rhs.begin(), out.begin(), 460 std::transform(lhs.begin(), lhs.end(), rhs.begin(), out.begin(),
461 [](u8 lhs, u8 rhs) { return u8(lhs ^ rhs); }); 461 [](u8 lhs_elem, u8 rhs_elem) { return u8(lhs_elem ^ rhs_elem); });
462 return out; 462 return out;
463} 463}
464 464