projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd5702
)
Const correctness in raw_sha1_ostream (NFC)
author
Mehdi Amini
<mehdi.amini@apple.com>
Fri, 1 Apr 2016 05:12:18 +0000
(
05:12
+0000)
committer
Mehdi Amini
<mehdi.amini@apple.com>
Fri, 1 Apr 2016 05:12:18 +0000
(
05:12
+0000)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265108
llvm/include/llvm/Support/raw_sha1_ostream.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/raw_sha1_ostream.h
b/llvm/include/llvm/Support/raw_sha1_ostream.h
index
9f136df
..
0a33b1e
100644
(file)
--- a/
llvm/include/llvm/Support/raw_sha1_ostream.h
+++ b/
llvm/include/llvm/Support/raw_sha1_ostream.h
@@
-25,7
+25,7
@@
class raw_sha1_ostream : public raw_ostream {
/// See raw_ostream::write_impl.
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: