diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-05 21:59:48 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-06 00:34:03 +0100 |
commit | 17b4355391f872f238a971fbece12ebd1b7773cb (patch) | |
tree | 5c82db19f166610b008586be7e55718ead29505a | |
parent | Merge pull request #1859 from heapo/lut_array_codegen (diff) | |
download | yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar.gz yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar.bz2 yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar.lz yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar.xz yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.tar.zst yuzu-17b4355391f872f238a971fbece12ebd1b7773cb.zip |
-rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/debugger/wait_tree.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index f9c18ede4..6b3a757e0 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp @@ -75,7 +75,7 @@ std::vector<std::unique_ptr<WaitTreeThread>> WaitTreeItem::MakeThreadItemList() return item_list; } -WaitTreeText::WaitTreeText(const QString& t) : text(t) {} +WaitTreeText::WaitTreeText(QString t) : text(std::move(t)) {} WaitTreeText::~WaitTreeText() = default; QString WaitTreeText::GetText() const { 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; |