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:
Родитель
5c9c901d0c
Коммит
926ab6ca26
|
@ -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.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче