mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
Fabric: Farewell kFloatUndefined
Summary: Apparently it's not used anymore. And that a good this. Reviewed By: JoshuaGross, mdvacca Differential Revision: D15219258 fbshipit-source-id: e3258d851d1eec5955d86f99a0b0d8a1b0304cb4
This commit is contained in:
committed by
Facebook Github Bot
parent
b5d0b6fc2a
commit
b2756eb051
@@ -16,10 +16,5 @@ namespace react {
|
||||
*/
|
||||
using Float = float;
|
||||
|
||||
/*
|
||||
* Large positive number signifies that the `Float` values is `undefined`.
|
||||
*/
|
||||
const Float kFloatUndefined = std::numeric_limits<Float>::max();
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
|
||||
@@ -17,10 +17,5 @@ namespace react {
|
||||
*/
|
||||
using Float = CGFloat;
|
||||
|
||||
/*
|
||||
* Large positive number signifies that the `Float` values is `undefined`.
|
||||
*/
|
||||
const Float kFloatUndefined = std::numeric_limits<Float>::infinity();
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
|
||||
Reference in New Issue
Block a user