Apply all the clang-tidy performance-* fixes

This commit is contained in:
louiz’
2017-04-07 19:01:49 +02:00
parent b82a14f20e
commit be9c577de8
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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() &&
+1 -1
View File
@@ -19,7 +19,7 @@ class TCPSocketHandler;
*/
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);
class BasicCredentialsManager: public Botan::Credentials_Manager
{