Fix build due to const-correctness issue after last minute refactoring
llvm-svn: 307971
This commit is contained in:
parent
05c70f5dba
commit
d815a278d8
|
|
@ -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