diff options
author | Determinant <[email protected]> | 2019-10-14 13:36:58 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-10-14 13:36:58 -0400 |
commit | 2a99baafdcac46931b00a9ef9e77340dbc319b58 (patch) | |
tree | 99bd05cd8985ee61e93332c626d40cb9ea5f1fb1 /src/util.cpp | |
parent | b6cc8b6615266fa1023b63d08e96971629d854c6 (diff) |
remove unnecessary std::move()v0.1.0
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
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() { |