OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c634c
)
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265108
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/raw_sha1_ostream.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/raw_sha1_ostream.h
b/include/llvm/Support/raw_sha1_ostream.h
index
9f136df
..
0a33b1e
100644
(file)
--- a/
include/llvm/Support/raw_sha1_ostream.h
+++ b/
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: