summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jni/node-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/node-inl.h b/jni/node-inl.h
index e9b63bbf4..c238fc856 100644
--- a/jni/node-inl.h
+++ b/jni/node-inl.h
@@ -72,7 +72,7 @@ class node;
// can assert that we only ever return an active node in response to a lookup.
class NodeTracker {
public:
- NodeTracker(std::recursive_mutex* lock) : lock_(lock) {}
+ explicit NodeTracker(std::recursive_mutex* lock) : lock_(lock) {}
void CheckTracked(__u64 ino) const {
if (kEnableInodeTracking) {