diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-08-04 10:58:24 +0200 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-08-04 10:58:24 +0200 |
| commit | 5a05187b3be39a590ad43a7943088d5d5a082569 (patch) | |
| tree | 6a9994bd19999d50a8ec08bbde1deed6a5218b33 /Source/Core/Common/StringUtil.cpp | |
| parent | 8d72145c4454cf3e86ff11f0ee9e9f3ca1a63d45 (diff) | |
Fix some warnings
reorder, sign-compare, pessimizing-move
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 903131a5d3..ac6c24bdfb 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -113,7 +113,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 +139,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. |
