Skip to content

Commit 1f9e75b

Browse files
authored
Update unknown_field_checker.h - Add using Declaration
Using a `using` declaration in the derived class to bring the base class's method into the derived class's scope.
1 parent 09e6cf5 commit 1f9e75b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proto_processing_lib/proto_scrubber/unknown_field_checker.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class UnknownFieldCheckerTestPeer;
3636
// message.
3737
class UnknownFieldChecker : public FieldCheckerInterface {
3838
public:
39+
using FieldCheckerInterface::CheckField;
40+
3941
// This type is neither copyable nor movable.
4042
UnknownFieldChecker(const UnknownFieldChecker&) = delete;
4143
UnknownFieldChecker& operator=(const UnknownFieldChecker&) = delete;

0 commit comments

Comments
 (0)