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/rsCpuIntrinsicBlur.cpp | |
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/rsCpuIntrinsicBlur.cpp')
-rw-r--r-- | cpu_ref/rsCpuIntrinsicBlur.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp index a3ed1d1c..cac10d81 100644 --- a/cpu_ref/rsCpuIntrinsicBlur.cpp +++ b/cpu_ref/rsCpuIntrinsicBlur.cpp @@ -26,13 +26,13 @@ namespace renderscript { class RsdCpuScriptIntrinsicBlur : public RsdCpuScriptIntrinsic { public: - virtual void populateScript(Script *); - virtual void invokeFreeChildren(); + void populateScript(Script *) override; + void invokeFreeChildren() override; - virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); - virtual void setGlobalObj(uint32_t slot, ObjectBase *data); + void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; + void setGlobalObj(uint32_t slot, ObjectBase *data) override; - virtual ~RsdCpuScriptIntrinsicBlur(); + ~RsdCpuScriptIntrinsicBlur() override; RsdCpuScriptIntrinsicBlur(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e); protected: |