diff options
| author | Reid Kleckner <rnk@google.com> | 2017-07-13 22:05:30 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-07-13 22:05:30 +0000 |
| commit | d815a278d897534d0407be40366f237072c0727d (patch) | |
| tree | 13ad3d308c74f649193a81a591a2452d53dd132e | |
| parent | 05c70f5dbad16421a0909ff10452b63d7c2da5f1 (diff) | |
| download | bcm5719-llvm-d815a278d897534d0407be40366f237072c0727d.tar.gz bcm5719-llvm-d815a278d897534d0407be40366f237072c0727d.zip | |
Fix build due to const-correctness issue after last minute refactoring
llvm-svn: 307971
| -rw-r--r-- | llvm/include/llvm/Support/BinaryItemStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/BinaryItemStream.h b/llvm/include/llvm/Support/BinaryItemStream.h index 53f20fec137..8325a85af8d 100644 --- a/llvm/include/llvm/Support/BinaryItemStream.h +++ b/llvm/include/llvm/Support/BinaryItemStream.h @@ -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); |

