diff options
author | 2020-04-29 09:42:42 +0100 | |
---|---|---|
committer | 2020-04-29 08:56:01 +0000 | |
commit | aa76d1e445eea2b7c1a8a8adcf788345f34515a7 (patch) | |
tree | 91521c8809ef7400ca74eea0b63fe479bfaa06b2 /jni/node-inl.h | |
parent | 8a95416217282c346661fb89d2778c15b9199345 (diff) |
Make single arg constructor explicit
BUG: 152645823
Test: builds
Change-Id: I377838ce41ff3628f2cca85d09bd11eca4fb45c0
Diffstat (limited to 'jni/node-inl.h')
-rw-r--r-- | jni/node-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/node-inl.h b/jni/node-inl.h index 4c523e605..e5ede8887 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) { |