aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-25 14:33:58 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-25 14:33:58 +0200
commit51a56e78ae82c1c01f7bbf89600f7dd1c064042d (patch)
tree068d873bf96bf51812611d19e99b7f01f8853c3d /contrib/epee
parentMerge pull request #749 (diff)
downloadmonero-51a56e78ae82c1c01f7bbf89600f7dd1c064042d.tar.xz
remove unecessary and bad std::move from portable_storage_template_helper.h
Diffstat (limited to 'contrib/epee')
-rw-r--r--contrib/epee/include/storages/portable_storage_template_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/storages/portable_storage_template_helper.h b/contrib/epee/include/storages/portable_storage_template_helper.h
index 88515b5c3..bbd8413fc 100644
--- a/contrib/epee/include/storages/portable_storage_template_helper.h
+++ b/contrib/epee/include/storages/portable_storage_template_helper.h
@@ -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;
}
}
}