summaryrefslogtreecommitdiff
path: root/lib/asan/asan_descriptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/asan_descriptions.h')
-rw-r--r--lib/asan/asan_descriptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_descriptions.h b/lib/asan/asan_descriptions.h
index 28b38100b..ee0e20615 100644
--- a/lib/asan/asan_descriptions.h
+++ b/lib/asan/asan_descriptions.h
@@ -203,7 +203,7 @@ class AddressDescription {
AddressDescription() = default;
// shouldLockThreadRegistry allows us to skip locking if we're sure we already
// have done it.
- AddressDescription(uptr addr, bool shouldLockThreadRegistry = true)
+ explicit AddressDescription(uptr addr, bool shouldLockThreadRegistry = true)
: AddressDescription(addr, 1, shouldLockThreadRegistry) {}
AddressDescription(uptr addr, uptr access_size,
bool shouldLockThreadRegistry = true);