Index: sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
diff --git a/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h b/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
index 18699138d551258601ad4f571f246e108b4c8803..7736c1506fbf475762b6aa69983c21e833266d3c 100644 |
--- a/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
+++ b/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
@@ -25,9 +25,9 @@ class BPFTesterCompatibilityDelegate : public BPFTesterDelegate { |
explicit BPFTesterCompatibilityDelegate(TestFunction test_function) |
: aux_(), test_function_(test_function) {} |
- virtual ~BPFTesterCompatibilityDelegate() {} |
+ ~BPFTesterCompatibilityDelegate() override {} |
- virtual scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override { |
+ scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override { |
// The current method is guaranteed to only run in the child process |
// running the test. In this process, the current object is guaranteed |
// to live forever. So it's ok to pass aux_pointer_for_policy_ to |
@@ -35,7 +35,7 @@ class BPFTesterCompatibilityDelegate : public BPFTesterDelegate { |
return scoped_ptr<bpf_dsl::Policy>(new Policy(&aux_)); |
} |
- virtual void RunTestFunction() override { |
+ void RunTestFunction() override { |
// Run the actual test. |
// The current object is guaranteed to live forever in the child process |
// where this will run. |