diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-05 15:59:48 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-05 18:34:03 -0500 |
commit | 17b4355391f872f238a971fbece12ebd1b7773cb (patch) | |
tree | 5c82db19f166610b008586be7e55718ead29505a /src/yuzu/debugger/wait_tree.h | |
parent | db3200b515a0de78f500cd5850306f8960a776c5 (diff) |
yuzu/wait_tree: Pass QString by value and std::move in the initializer list for WaitTreeText
Just a trivial modernization that potentially avoids copying strings in certain scenarios.
Diffstat (limited to 'src/yuzu/debugger/wait_tree.h')
-rw-r--r-- | src/yuzu/debugger/wait_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/wait_tree.h b/src/yuzu/debugger/wait_tree.h index 492fb6ac9..e639ef412 100644 --- a/src/yuzu/debugger/wait_tree.h +++ b/src/yuzu/debugger/wait_tree.h @@ -52,7 +52,7 @@ private: class WaitTreeText : public WaitTreeItem { Q_OBJECT public: - explicit WaitTreeText(const QString& text); + explicit WaitTreeText(QString text); ~WaitTreeText() override; QString GetText() const override; |