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:
Valentin Shergin
2019-05-06 17:01:14 -07:00
committed by Facebook Github Bot
parent b5d0b6fc2a
commit b2756eb051
2 changed files with 0 additions and 10 deletions

View File

@@ -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

View File

@@ -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