1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix build due to const-correctness issue after last minute refactoring

llvm-svn: 307971
This commit is contained in:
Reid Kleckner 2017-07-13 22:05:30 +00:00
parent 14e644ccac
commit 974668edba

View File

@ -84,7 +84,7 @@ private:
}
}
Expected<uint32_t> translateOffsetIndex(uint32_t Offset) const {
Expected<uint32_t> translateOffsetIndex(uint32_t Offset) {
// Make sure the offset is somewhere in our items array.
if (Offset >= getLength())
return make_error<BinaryStreamError>(stream_error_code::stream_too_short);