remove unecessary and bad std::move from portable_storage_template_helper.h

pull/762/head
Riccardo Spagni 8 years ago
parent 0d30b65785
commit 51a56e78ae
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -72,7 +72,7 @@ namespace epee
{
std::string json_buff;
store_t_to_json(str_in, json_buff, indent, insert_newlines);
return std::move(json_buff);
return json_buff;
}
//-----------------------------------------------------------------------------------------------------------
template<class t_struct>
@ -117,7 +117,7 @@ namespace epee
{
std::string binary_buff;
store_t_to_binary(str_in, binary_buff, indent);
return std::move(binary_buff);
return binary_buff;
}
}
}

Loading…
Cancel
Save