summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-09 14:19:52 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-09 14:19:52 +0000
commit7397db9edb79961cc385cf19471519ec9a83decf (patch)
tree299abdcb38283c2564549ecd955a48121ae6aaf9
parentUpdate location of nolint after format (diff)
downloadnetfs-7397db9edb79961cc385cf19471519ec9a83decf.tar.bz2
netfs-7397db9edb79961cc385cf19471519ec9a83decf.tar.xz
netfs-7397db9edb79961cc385cf19471519ec9a83decf.zip
Allow recursion in AssertRead
-rw-r--r--netfs/daemon/modeCheck.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/netfs/daemon/modeCheck.cpp b/netfs/daemon/modeCheck.cpp
index 6e65888..49cea44 100644
--- a/netfs/daemon/modeCheck.cpp
+++ b/netfs/daemon/modeCheck.cpp
@@ -18,6 +18,7 @@ ModeCheck::AssertReadParent(const std::filesystem::path & p) const
}
void
+// NOLINTNEXTLINE(misc-no-recursion)
ModeCheck::AssertRead(const std::filesystem::path & p) const
{
if (p != root) {