Skip to content

Commit 5802329

Browse files
jnthntatumcopybara-github
authored andcommitted
Fix gcc warning about shadowing base class virtual overload.
Adapted from #1048. PiperOrigin-RevId: 693382358
1 parent 834c7fd commit 5802329

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eval/public/containers/internal_field_backed_map_impl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class FieldBackedMapImpl : public CelMap {
4545

4646
absl::StatusOr<const CelList*> ListKeys() const override;
4747

48+
// Suppress warnings about shadowing the base class overload.
49+
using CelMap::ListKeys;
50+
4851
protected:
4952
// These methods are exposed as protected methods for testing purposes since
5053
// whether one or the other is used depends on build time flags, but each

0 commit comments

Comments
 (0)