diff --git a/base/include/android-base/result.h b/base/include/android-base/result.h index 5e65876c5..56a4f3e80 100644 --- a/base/include/android-base/result.h +++ b/base/include/android-base/result.h @@ -130,6 +130,7 @@ class Error { template Error& operator<<(T&& t) { + // NOLINTNEXTLINE(bugprone-suspicious-semicolon) if constexpr (std::is_same_v>, ResultError>) { errno_ = t.code(); return (*this) << t.message();