diff --git a/eval/public/containers/internal_field_backed_map_impl.h b/eval/public/containers/internal_field_backed_map_impl.h index ec773d9d2..cf43866b7 100644 --- a/eval/public/containers/internal_field_backed_map_impl.h +++ b/eval/public/containers/internal_field_backed_map_impl.h @@ -45,6 +45,10 @@ class FieldBackedMapImpl : public CelMap { absl::StatusOr ListKeys() const override; + // Include base class definitions to avoid GCC warnings about hidden virtual + // overloads. + using CelMap::ListKeys; + protected: // These methods are exposed as protected methods for testing purposes since // whether one or the other is used depends on build time flags, but each