forked from OSchip/llvm-project
Const correctness in raw_sha1_ostream (NFC)
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 265108
This commit is contained in:
parent
4cd5702578
commit
7ef783d1fa
|
@ -25,7 +25,7 @@ class raw_sha1_ostream : public raw_ostream {
|
||||||
|
|
||||||
/// See raw_ostream::write_impl.
|
/// See raw_ostream::write_impl.
|
||||||
void write_impl(const char *Ptr, size_t Size) override {
|
void write_impl(const char *Ptr, size_t Size) override {
|
||||||
State.update(ArrayRef<uint8_t>((uint8_t *)Ptr, Size));
|
State.update(ArrayRef<uint8_t>((const uint8_t *)Ptr, Size));
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue