mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-17 08:17:56 -05:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user