mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 20:49:37 +00:00
remove unecessary and bad std::move from portable_storage_template_helper.h
This commit is contained in:
parent
0d30b65785
commit
51a56e78ae
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ namespace epee
|
||||||
{
|
{
|
||||||
std::string json_buff;
|
std::string json_buff;
|
||||||
store_t_to_json(str_in, json_buff, indent, insert_newlines);
|
store_t_to_json(str_in, json_buff, indent, insert_newlines);
|
||||||
return std::move(json_buff);
|
return json_buff;
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------------
|
||||||
template<class t_struct>
|
template<class t_struct>
|
||||||
|
@ -117,7 +117,7 @@ namespace epee
|
||||||
{
|
{
|
||||||
std::string binary_buff;
|
std::string binary_buff;
|
||||||
store_t_to_binary(str_in, binary_buff, indent);
|
store_t_to_binary(str_in, binary_buff, indent);
|
||||||
return std::move(binary_buff);
|
return binary_buff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue