aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 19b6915..ce98b22 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -126,7 +126,7 @@ std::string vstringprintf(const char *fmt, va_list _ap) {
}
}
va_end(ap);
- return std::move(buff);
+ return buff;
}
std::string stringprintf(const char *fmt, ...) {
@@ -134,7 +134,7 @@ std::string stringprintf(const char *fmt, ...) {
va_start(ap, fmt);
auto ret = vstringprintf(fmt, ap);
va_end(ap);
- return std::move(ret);
+ return ret;
}
const std::string get_current_datetime() {