mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 03:50:11 +08:00
Fabric: Default support of displayType and layoutDirection layout metrics
Summary: @public Quite trivial. Reviewed By: mdvacca Differential Revision: D8528922 fbshipit-source-id: 1e21f988317eecc7aa659fd9b51600b9e2b7d69f
This commit is contained in:
committed by
Facebook Github Bot
parent
803c14bd98
commit
36c052ad96
@@ -26,18 +26,18 @@ namespace react {
|
||||
|
||||
Sealable::Sealable(): sealed_(false) {}
|
||||
|
||||
Sealable::Sealable(const Sealable& other): sealed_(false) {};
|
||||
Sealable::Sealable(const Sealable &other): sealed_(false) {};
|
||||
|
||||
Sealable::Sealable(Sealable&& other) noexcept: sealed_(false) {};
|
||||
Sealable::Sealable(Sealable &&other) noexcept: sealed_(false) {};
|
||||
|
||||
Sealable::~Sealable() noexcept {};
|
||||
|
||||
Sealable& Sealable::operator= (const Sealable& other) {
|
||||
Sealable &Sealable::operator=(const Sealable &other) {
|
||||
ensureUnsealed();
|
||||
return *this;
|
||||
}
|
||||
|
||||
Sealable& Sealable::operator= (Sealable&& other) noexcept {
|
||||
Sealable &Sealable::operator=(Sealable &&other) noexcept {
|
||||
ensureUnsealed();
|
||||
return *this;
|
||||
};
|
||||
|
||||
@@ -43,11 +43,11 @@ namespace react {
|
||||
class Sealable {
|
||||
public:
|
||||
Sealable();
|
||||
Sealable(const Sealable& other);
|
||||
Sealable(Sealable&& other) noexcept;
|
||||
Sealable(const Sealable &other);
|
||||
Sealable(Sealable &&other) noexcept;
|
||||
~Sealable() noexcept;
|
||||
Sealable& operator=(const Sealable& other);
|
||||
Sealable& operator=(Sealable&& other) noexcept;
|
||||
Sealable &operator=(const Sealable &other);
|
||||
Sealable &operator=(Sealable &&other) noexcept;
|
||||
|
||||
/*
|
||||
* Seals the object. This operation is irreversible;
|
||||
|
||||
Reference in New Issue
Block a user