summaryrefslogtreecommitdiff
path: root/icespider/testing/testRequest.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-03-27 19:35:46 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-03-27 19:35:46 +0000
commit26e4b00f50502f788b67d09eccb06f121d72fc2f (patch)
tree1c34b7dd54b3d14118aa0b5ae72236a83c5c3448 /icespider/testing/testRequest.cpp
parentBump Ice v3.7.2 (diff)
downloadicespider-26e4b00f50502f788b67d09eccb06f121d72fc2f.tar.bz2
icespider-26e4b00f50502f788b67d09eccb06f121d72fc2f.tar.xz
icespider-26e4b00f50502f788b67d09eccb06f121d72fc2f.zip
Enable some clang-tidy checks and fix up accordingly
Diffstat (limited to 'icespider/testing/testRequest.cpp')
-rw-r--r--icespider/testing/testRequest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/icespider/testing/testRequest.cpp b/icespider/testing/testRequest.cpp
index 1c0d9cb..5aa5bce 100644
--- a/icespider/testing/testRequest.cpp
+++ b/icespider/testing/testRequest.cpp
@@ -10,7 +10,9 @@ namespace IceSpider {
{
namespace ba = boost::algorithm;
auto path = p.substr(1);
+ // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks)
if (!path.empty()) {
+ // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks)
ba::split(url, path, ba::is_any_of("/"), ba::token_compress_off);
}
}