summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVideo/VP9
diff options
context:
space:
mode:
authorZaggy1024 <zaggy1024@gmail.com>2022-10-09 05:57:07 -0500
committerAndrew Kaster <andrewdkaster@gmail.com>2022-10-09 20:32:40 -0600
commitaf0584ea53cea882dfc3555fd014f7dbed483743 (patch)
treee8f95d46605d94f92c9dc19d1933d529bf6bfef5 /Userland/Libraries/LibVideo/VP9
parent3ffbe20067757551bf33e809690602515eefe9d2 (diff)
downloadserenity-af0584ea53cea882dfc3555fd014f7dbed483743.zip
LibVideo: Remove MV class's copy assignment overload
This was unnecessary, as the implicit one works correctly.
Diffstat (limited to 'Userland/Libraries/LibVideo/VP9')
-rw-r--r--Userland/Libraries/LibVideo/VP9/MV.cpp9
-rw-r--r--Userland/Libraries/LibVideo/VP9/MV.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/Userland/Libraries/LibVideo/VP9/MV.cpp b/Userland/Libraries/LibVideo/VP9/MV.cpp
index ac01e03e9c..a715c29f53 100644
--- a/Userland/Libraries/LibVideo/VP9/MV.cpp
+++ b/Userland/Libraries/LibVideo/VP9/MV.cpp
@@ -14,15 +14,6 @@ MV::MV(u32 row, u32 col)
{
}
-MV& MV::operator=(MV const& other)
-{
- if (this == &other)
- return *this;
- m_row = other.row();
- m_col = other.col();
- return *this;
-}
-
MV& MV::operator=(i32 value)
{
m_row = value;
diff --git a/Userland/Libraries/LibVideo/VP9/MV.h b/Userland/Libraries/LibVideo/VP9/MV.h
index 7baa061247..718e64447f 100644
--- a/Userland/Libraries/LibVideo/VP9/MV.h
+++ b/Userland/Libraries/LibVideo/VP9/MV.h
@@ -20,7 +20,6 @@ public:
u32 col() const { return m_col; }
void set_col(u32 col) { m_col = col; }
- MV& operator=(MV const& other);
MV& operator=(i32 value);
MV operator+(MV const& other) const;