mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
static analysis: std::move
This commit is contained in:
parent
e8463403f5
commit
6abb863a54
5 changed files with 5 additions and 5 deletions
|
@ -543,7 +543,7 @@ namespace cfg
|
|||
std::string def;
|
||||
|
||||
string(node* owner, std::string name, std::string def = {}, bool dynamic = false)
|
||||
: _base(type::string, owner, name, dynamic)
|
||||
: _base(type::string, owner, std::move(name), dynamic)
|
||||
, m_value(def)
|
||||
, def(std::move(def))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue