summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp
index 903131a5d3..9fdbd9f801 100644
--- a/Source/Core/Common/StringUtil.cpp
+++ b/Source/Core/Common/StringUtil.cpp
@@ -14,9 +14,11 @@
#include <string>
#include <vector>
+#include "Common/CommonFuncs.h"
#include "Common/CommonPaths.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
+#include "Common/Logging/Log.h"
#ifdef _WIN32
#include <Windows.h>
@@ -113,7 +115,7 @@ std::string StringFromFormat(const char* format, ...)
va_start(args, format);
std::string res = StringFromFormatV(format, args);
va_end(args);
- return std::move(res);
+ return res;
}
std::string StringFromFormatV(const char* format, va_list args)
@@ -139,7 +141,7 @@ std::string StringFromFormatV(const char* format, va_list args)
std::string temp = buf;
free(buf);
#endif
- return std::move(temp);
+ return temp;
}
// For Debugging. Read out an u8 array.