llvm.org GIT mirror llvm / c3e0164
Fix build due to const-correctness issue after last minute refactoring git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307971 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8383 }
8484 }
8585
86 Expected translateOffsetIndex(uint32_t Offset) const {
86 Expected translateOffsetIndex(uint32_t Offset) {
8787 // Make sure the offset is somewhere in our items array.
8888 if (Offset >= getLength())
8989 return make_error(stream_error_code::stream_too_short);