summaryrefslogtreecommitdiff
path: root/lib/jsonParse-persistence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jsonParse-persistence.cpp')
-rw-r--r--lib/jsonParse-persistence.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jsonParse-persistence.cpp b/lib/jsonParse-persistence.cpp
index 5b3314e..7c00773 100644
--- a/lib/jsonParse-persistence.cpp
+++ b/lib/jsonParse-persistence.cpp
@@ -44,7 +44,7 @@ namespace Persistence {
void
JsonParsePersistence::pushText(std::string && value)
{
- pushValue(value);
+ pushValue(std::move(value));
}
void
@@ -72,7 +72,7 @@ namespace Persistence {
JsonParsePersistence::pushValue(T && value)
{
current()->beforeValue(stk);
- current()->setValue(value);
+ current()->setValue(std::forward<T>(value));
stk.pop();
}