diff options
author | louiz’ <louiz@louiz.org> | 2017-04-07 19:01:49 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-04-07 19:01:49 +0200 |
commit | be9c577de840c7f0dc08b9f5b9ba9bd522d0e2ea (patch) | |
tree | 7b3c18d8c0b6a1b0f5c3a56a44cb7ed3b2ff2739 /src/network/credentials_manager.cpp | |
parent | b82a14f20effad351cd2b1f344d526202ef11caf (diff) | |
download | biboumi-be9c577de840c7f0dc08b9f5b9ba9bd522d0e2ea.tar.gz biboumi-be9c577de840c7f0dc08b9f5b9ba9bd522d0e2ea.tar.bz2 biboumi-be9c577de840c7f0dc08b9f5b9ba9bd522d0e2ea.tar.xz biboumi-be9c577de840c7f0dc08b9f5b9ba9bd522d0e2ea.zip |
Apply all the clang-tidy performance-* fixes
Diffstat (limited to 'src/network/credentials_manager.cpp')
-rw-r--r-- | src/network/credentials_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/credentials_manager.cpp b/src/network/credentials_manager.cpp index 0908a2f..ea76627 100644 --- a/src/network/credentials_manager.cpp +++ b/src/network/credentials_manager.cpp @@ -44,7 +44,7 @@ const std::string& BasicCredentialsManager::get_trusted_fingerprint() const void check_tls_certificate(const std::vector<Botan::X509_Certificate>& certs, const std::string& hostname, const std::string& trusted_fingerprint, - std::exception_ptr exc) + const std::exception_ptr& exc) { if (!trusted_fingerprint.empty() && !certs.empty() && |