llvm.org GIT mirror llvm / 167ce3f
Const correctness in raw_sha1_ostream (NFC) From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265108 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2424
2525 /// See raw_ostream::write_impl.
2626 void write_impl(const char *Ptr, size_t Size) override {
27 State.update(ArrayRef((uint8_t *)Ptr, Size));
27 State.update(ArrayRef((const uint8_t *)Ptr, Size));
2828 }
2929
3030 public: