mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
Fix some warnings
This commit is contained in:
parent
08c1973e85
commit
139e7e2978
1 changed files with 0 additions and 2 deletions
|
@ -155,7 +155,6 @@ struct Color
|
||||||
b /= scale;
|
b /= scale;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
friend Color operator/(Color lhs, float rhs) { return (lhs /= rhs); }
|
|
||||||
Color &operator+=(const Color &rhs)
|
Color &operator+=(const Color &rhs)
|
||||||
{
|
{
|
||||||
r += rhs.r;
|
r += rhs.r;
|
||||||
|
@ -163,7 +162,6 @@ struct Color
|
||||||
b += rhs.b;
|
b += rhs.b;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
friend Color operator+(Color lhs, const Color &rhs) { return (lhs += rhs); }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Color
|
Color
|
||||||
|
|
Loading…
Reference in a new issue