Move equaltiy function from utils to an operator on YGFloatOptional
Summary: Move equaltiy function from utils to an operator on YGFloatOptional Reviewed By: emilsjolander Differential Revision: D7303460 fbshipit-source-id: 41ec0076ace621ec1a5bdbab00b72eea57780fff
This commit is contained in:
committed by
Facebook Github Bot
parent
d85e2ee9c3
commit
5730be093e
@@ -23,4 +23,10 @@ struct YGFloatOptional {
|
||||
void setValue(const float& val);
|
||||
|
||||
bool isUndefined() const;
|
||||
|
||||
bool operator==(const YGFloatOptional& op) const;
|
||||
bool operator!=(const YGFloatOptional& op) const;
|
||||
|
||||
bool operator==(const float& val) const;
|
||||
bool operator!=(const float& val) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user