mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
UICommon/GameFile: std::move std::string argument in constructor
Allows for calling code to move the argument into the constructor, avoiding a copy.
This commit is contained in:
@ -45,7 +45,7 @@ class GameFile final
|
||||
{
|
||||
public:
|
||||
GameFile();
|
||||
explicit GameFile(const std::string& path);
|
||||
explicit GameFile(std::string path);
|
||||
~GameFile();
|
||||
|
||||
bool IsValid() const;
|
||||
|
Reference in New Issue
Block a user