aboutsummaryrefslogtreecommitdiff
path: root/brillo/any_internal_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'brillo/any_internal_impl.h')
-rw-r--r--brillo/any_internal_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/brillo/any_internal_impl.h b/brillo/any_internal_impl.h
index 0154d4d..9309f5d 100644
--- a/brillo/any_internal_impl.h
+++ b/brillo/any_internal_impl.h
@@ -69,7 +69,8 @@ struct IsEqualityComparableHelper {
// IntWrapper when both overloads are provided.
// Also this constructor must NOT be explicit.
// NOLINTNEXTLINE(runtime/explicit)
- IntWrapper(int /* dummy */) {} // do nothing
+ // NOLINT: Allow implicit conversion from int.
+ IntWrapper(int /* dummy */) {} // do nothing, NOLINT
};
// Here is an obscure trick to determine if a type U has operator==().