Revert "TextEditorFactory use rvalue refs for creators"
This reverts commit 2be30c27. The above patch puts limitations on the use of the API, while being a questionable optimization. There is no reason why it should not be possible to use lvalues for setting the various creators. And MSVC2013 even thinks that actual functions are lvalues for std::function objects. Change-Id: Ia4daa7c3367b51bd613e1ff840f0ee617d36f54b Reviewed-by: Tim Jenssen <firstname.lastname@example.org>
Showing with 18 additions and 18 deletions