mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark TextLayoutManager as not copyable / not movable
Summary: TextLayoutManger should be not copyable / not movable changelog: [internal] internal Reviewed By: javache Differential Revision: D34246013 fbshipit-source-id: dc20db2ad9e2709ddca5bef5218356bd2b292c2d
This commit is contained in:
1 parent
5c9c901d0c
commit
926ab6ca26
1 file changed
+12
+12
@@ -36,6 +36,18 @@ class TextLayoutManager {
|
||||
: kSimpleThreadSafeCacheSizeCap) {}
|
||||
~TextLayoutManager();
|
||||
|
||||
/*
|
||||
* Not copyable.
|
||||
*/
|
||||
TextLayoutManager(TextLayoutManager const &) = delete;
|
||||
TextLayoutManager &operator=(TextLayoutManager const &) = delete;
|
||||
|
||||
/*
|
||||
* Not movable.
|
||||
*/
|
||||
TextLayoutManager(TextLayoutManager &&) = delete;
|
||||
TextLayoutManager &operator=(TextLayoutManager &&) = delete;
|
||||
|
||||
/*
|
||||
* Measures `attributedString` using native text rendering infrastructure.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user