diff options
author | Stephen Hines <srhines@google.com> | 2015-05-13 19:26:09 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-05-22 13:19:36 -0700 |
commit | c060f1435e7b9405f3be8974417fa6f410f03753 (patch) | |
tree | 80f01b09d7afea88e3d0ea011a188339ba4b3f17 /cpu_ref/rsd_cpu.h | |
parent | a748af828c67ee0fe931de30f0c8ff620fe4119f (diff) | |
download | rs-c060f1435e7b9405f3be8974417fa6f410f03753.tar.gz |
Use "override" instead of "virtual" when replacing methods.
Bug: 20306487
Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
-rw-r--r-- | cpu_ref/rsd_cpu.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h index adca82fb..6bfd9131 100644 --- a/cpu_ref/rsd_cpu.h +++ b/cpu_ref/rsd_cpu.h @@ -112,14 +112,12 @@ public: public: virtual void setInput(const ScriptKernelID *kid, Allocation *) = 0; virtual void setOutput(const ScriptKernelID *kid, Allocation *) = 0; - virtual void execute() = 0; - virtual ~CpuScriptGroup() {}; + ~CpuScriptGroup() override {}; }; class CpuScriptGroup2 : public CpuScriptGroupBase { public: - virtual void execute() = 0; - virtual ~CpuScriptGroup2() {} + ~CpuScriptGroup2() override {} }; static Context * getTlsContext(); |