Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39353 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f1177f3673
commit
5c06337b7e
@ -47,6 +47,6 @@ FloatValue::ToVariant(BVariant& _value) const
|
|||||||
bool
|
bool
|
||||||
FloatValue::operator==(const Value& other) const
|
FloatValue::operator==(const Value& other) const
|
||||||
{
|
{
|
||||||
const FloatValue* otherInt = dynamic_cast<const FloatValue*>(&other);
|
const FloatValue* otherFloat = dynamic_cast<const FloatValue*>(&other);
|
||||||
return otherInt != NULL ? fValue == otherInt->fValue : false;
|
return otherFloat != NULL ? fValue == otherFloat->fValue : false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user