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:
parent
14e644ccac
commit
974668edba
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user