mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:17:35 +00:00
LibVideo: Remove MV class's copy assignment overload
This was unnecessary, as the implicit one works correctly.
This commit is contained in:
parent
3ffbe20067
commit
af0584ea53
2 changed files with 0 additions and 10 deletions
|
@ -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)
|
MV& MV::operator=(i32 value)
|
||||||
{
|
{
|
||||||
m_row = value;
|
m_row = value;
|
||||||
|
|
|
@ -20,7 +20,6 @@ public:
|
||||||
u32 col() const { return m_col; }
|
u32 col() const { return m_col; }
|
||||||
void set_col(u32 col) { m_col = col; }
|
void set_col(u32 col) { m_col = col; }
|
||||||
|
|
||||||
MV& operator=(MV const& other);
|
|
||||||
MV& operator=(i32 value);
|
MV& operator=(i32 value);
|
||||||
MV operator+(MV const& other) const;
|
MV operator+(MV const& other) const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue