diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-17 16:54:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 13:09:43 (GMT) |
commit | 9409e5c04f0a534b53ce2f0e0a81c5e7e70c38f1 (patch) | |
tree | 65f6c53b866517b13a3b42ce4bd7b091f38f7808 /Source/cmCryptoHash.cxx | |
parent | a5f8cbe8b149d4b3e1136aa4c07691397d693038 (diff) | |
download | CMake-9409e5c04f0a534b53ce2f0e0a81c5e7e70c38f1.zip CMake-9409e5c04f0a534b53ce2f0e0a81c5e7e70c38f1.tar.gz CMake-9409e5c04f0a534b53ce2f0e0a81c5e7e70c38f1.tar.bz2 |
clang-tidy: address `readability-container-data-pointer` lints
Diffstat (limited to 'Source/cmCryptoHash.cxx')
-rw-r--r-- | Source/cmCryptoHash.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCryptoHash.cxx b/Source/cmCryptoHash.cxx index b331862..9f369b9 100644 --- a/Source/cmCryptoHash.cxx +++ b/Source/cmCryptoHash.cxx @@ -182,7 +182,7 @@ void cmCryptoHash::Append(cm::string_view input) std::vector<unsigned char> cmCryptoHash::Finalize() { std::vector<unsigned char> hash(rhash_get_digest_size(this->Id), 0); - rhash_final(this->CTX, &hash[0]); + rhash_final(this->CTX, hash.data()); return hash; } |