Fabric: Subtle changes that make GCC compiler happy

Summary:
@public
Most of them are legit issues which should not be compilable anyways (but Clang tolerates thems).

Reviewed By: mdvacca

Differential Revision: D8655539

fbshipit-source-id: 645729fb9d6a120ce1ab2b07542abcdacd72320d
This commit is contained in:
Valentin Shergin
2018-06-29 12:09:59 -07:00
committed by Facebook Github Bot
parent 712c2ed5d2
commit 62f9ced099
9 changed files with 16 additions and 13 deletions

View File

@@ -10,6 +10,7 @@
#include <array>
#include <cmath>
#include <vector>
#include <memory>
#include <fabric/core/LayoutMetrics.h>
#include <fabric/core/Sealable.h>
@@ -23,7 +24,7 @@ struct LayoutContext;
class LayoutableShadowNode;
using SharedLayoutableShadowNode = std::shared_ptr<const LayoutableShadowNode>;
using SharedLayoutableShadowNodeList = std::vector<const SharedLayoutableShadowNode>;
using SharedLayoutableShadowNodeList = std::vector<SharedLayoutableShadowNode>;
using LayoutableShadowNodeIterator = std::iterator<std::input_iterator_tag, const SharedLayoutableShadowNode>;
/*