diff --git a/eval/public/structs/legacy_type_provider.h b/eval/public/structs/legacy_type_provider.h index b00645d0e..b04f7af36 100644 --- a/eval/public/structs/legacy_type_provider.h +++ b/eval/public/structs/legacy_type_provider.h @@ -53,7 +53,7 @@ class LegacyTypeProvider { // created ones, the TypeInfoApis returned from this method should be the same // as the ones used in value creation. virtual std::optional ProvideLegacyTypeInfo( - ABSL_ATTRIBUTE_UNUSED absl::string_view name) const { + [[maybe_unused]] absl::string_view name) const { return std::nullopt; } };