diff options
| author | JosJuice <josjuice@gmail.com> | 2026-04-18 21:02:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-18 21:02:30 +0200 |
| commit | 74bb80544e8776750ee918fd4574a5b8eefd9774 (patch) | |
| tree | 5ffec7ba44c2ef6f51e5f48fd4ba95c6fed51d09 /Source/Core/Common/Crypto/ec.cpp | |
| parent | 5f2641ba4df22eeaa4357981f9a0e7fc54e43f3a (diff) | |
| parent | 95dec132030e72b74da6bc46966e4fe5e4e239c0 (diff) | |
Merge pull request #14565 from SuperSamus/cpp-argument-move-reference
Improve usage of std::move and const references parameters
Diffstat (limited to 'Source/Core/Common/Crypto/ec.cpp')
| -rw-r--r-- | Source/Core/Common/Crypto/ec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Crypto/ec.cpp b/Source/Core/Common/Crypto/ec.cpp index c8b85eb387..e3f87d9b9b 100644 --- a/Source/Core/Common/Crypto/ec.cpp +++ b/Source/Core/Common/Crypto/ec.cpp @@ -133,7 +133,7 @@ static Elt operator/(const Elt& dividend, const Elt& divisor) struct Point { Point() = default; - constexpr explicit Point(Elt x, Elt y) : m_data{{std::move(x), std::move(y)}} {} + constexpr explicit Point(Elt x, Elt y) : m_data{{x, y}} {} explicit Point(const u8* data) { std::copy_n(data, sizeof(m_data), Data()); } bool IsZero() const { return X().IsZero() && Y().IsZero(); } |
