Apply all the clang-tidy misc-* fixes

This commit is contained in:
louiz’
2017-04-07 18:53:12 +02:00
parent 5402a256d1
commit ccb4ee098f
5 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ bool BasicCredentialsManager::try_to_open_one_ca_bundle(const std::vector<std::s
// because the certificate is signed by an issuer that was ignored.
try {
Botan::X509_Certificate cert(bundle);
BasicCredentialsManager::certificate_store.add_certificate(std::move(cert));
BasicCredentialsManager::certificate_store.add_certificate(cert);
} catch (const Botan::Decoding_Error& error) {
continue;
}
-1
View File
@@ -42,7 +42,6 @@ namespace
using namespace std::string_literals;
using namespace std::chrono_literals;
namespace ph = std::placeholders;
TCPSocketHandler::TCPSocketHandler(std::shared_ptr<Poller>& poller):
SocketHandler(poller, -1),