diff options
author | Rui Ueyama <ruiu@google.com> | 2016-11-23 03:58:12 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-11-23 03:58:12 +0000 |
commit | 74e176a8845bb74057ff633a40e291f82acd7236 (patch) | |
tree | e6f84d233da20009b3884b7a64189465cea33f50 /lib/Support/SHA1.cpp | |
parent | a64c974a27079a86c8c3be956a0e04b18dd10445 (diff) |
Fix builbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/SHA1.cpp')
-rw-r--r-- | lib/Support/SHA1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/SHA1.cpp b/lib/Support/SHA1.cpp index 016f580ae6d..0eefd998cd7 100644 --- a/lib/Support/SHA1.cpp +++ b/lib/Support/SHA1.cpp @@ -273,7 +273,7 @@ StringRef SHA1::result() { std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) { SHA1 Hash; Hash.update(Data); - StringRef S = Hash.final().data(); + StringRef S = Hash.final(); std::array<uint8_t, 20> Arr; memcpy(Arr.data(), S.data(), S.size()); |