diff options
author | crupest <crupest@outlook.com> | 2024-06-24 00:06:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-06-25 00:12:29 +0800 |
commit | 807c1dfe8a897f9c61bf3549ff2566917b53023b (patch) | |
tree | 8f0bfed314747ff570fa99577e8954060194ed7f /src/common/String.cpp | |
parent | 2f5651cd1a1efb136179cdbcb3b29ed0cc11ca2a (diff) | |
download | cru-807c1dfe8a897f9c61bf3549ff2566917b53023b.tar.gz cru-807c1dfe8a897f9c61bf3549ff2566917b53023b.tar.bz2 cru-807c1dfe8a897f9c61bf3549ff2566917b53023b.zip |
feat: fix linux build, complete PosixSpawnSubProcess.
NEED TEST: BufferStream, AutoReadStream, SubProcess.
Diffstat (limited to 'src/common/String.cpp')
-rw-r--r-- | src/common/String.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/String.cpp b/src/common/String.cpp index 8736c775..ddfa03a9 100644 --- a/src/common/String.cpp +++ b/src/common/String.cpp @@ -560,7 +560,7 @@ Buffer StringView::ToUtf8Buffer(bool end_zero) const { if (end_zero) { push_back(0); } - return std::move(buffer); + return buffer; } int StringView::ParseToInt(Index* processed_characters_count, unsigned flags, |