fixed compile warning in util/Color for return value of operator+= and -=

git-svn-id: svn://anubis/fart/trunk@77 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-02-02 15:29:01 +00:00
parent 78fd509d0f
commit d421a652e4

View File

@ -43,6 +43,7 @@ Color & Color::operator+=(const Color & other)
r += other.r; r += other.r;
g += other.g; g += other.g;
b += other.b; b += other.b;
return *this;
} }
Color & Color::operator-=(const Color & other) Color & Color::operator-=(const Color & other)
@ -50,6 +51,7 @@ Color & Color::operator-=(const Color & other)
r += other.r; r += other.r;
g += other.g; g += other.g;
b += other.b; b += other.b;
return *this;
} }
Color operator+(const Color & c1, const Color & c2) Color operator+(const Color & c1, const Color & c2)