1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

clang: fix compilation on 3.8

This commit is contained in:
scribam 2018-07-12 21:05:27 +02:00 committed by Ivan
parent 46abe0f315
commit 4babe9076b

View File

@ -469,7 +469,7 @@ public:
{
auto buf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(cached.size());
cached.read(buf->getBufferStart(), buf->getBufferSize());
return buf;
return std::move(buf);
}
return nullptr;