summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto/ec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Crypto/ec.cpp')
-rw-r--r--Source/Core/Common/Crypto/ec.cpp2
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(); }