From 43d9e3947acc5765381d4cda293dad76edd3b0e1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 8 Oct 2019 18:03:27 +0200 Subject: [PATCH] Disable clang-tidy warnings I can't do anything about. --- src/lib/uri.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/uri.cpp b/src/lib/uri.cpp index 4be5adf..02db23b 100644 --- a/src/lib/uri.cpp +++ b/src/lib/uri.cpp @@ -171,6 +171,7 @@ string URI::make_request(const string &uri, bool archive) const } else { + // NOLINTNEXTLINE(cert-err60-cpp) throw Poco::Exception("Protocol not supported."); } @@ -214,7 +215,7 @@ string URI::make_request(const string &uri, bool archive) const } default: { - throw Poco::Exception(response.getReason()); + throw Poco::Exception(response.getReason()); // NOLINT(cert-err60-cpp) return ""; } }