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:
parent
78fd509d0f
commit
d421a652e4
@ -43,6 +43,7 @@ Color & Color::operator+=(const Color & other)
|
||||
r += other.r;
|
||||
g += other.g;
|
||||
b += other.b;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Color & Color::operator-=(const Color & other)
|
||||
@ -50,6 +51,7 @@ Color & Color::operator-=(const Color & other)
|
||||
r += other.r;
|
||||
g += other.g;
|
||||
b += other.b;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Color operator+(const Color & c1, const Color & c2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user