Mesa (master): swr/rast: Remove unneeded virtual from methods

George Kyriazis gkyriazis at kemper.freedesktop.org
Thu May 17 16:13:08 UTC 2018


Module: Mesa
Branch: master
Commit: 7926d18fa5df028f73fbbb8f30f81cb7f3c79901
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7926d18fa5df028f73fbbb8f30f81cb7f3c79901

Author: Alok Hota <alok.hota at intel.com>
Date:   Wed May 16 11:14:17 2018 -0500

swr/rast: Remove unneeded virtual from methods

Reviewed-By: George Kyriazis <george.kyriazis at intel.com>

---

 src/gallium/drivers/swr/rasterizer/jitter/JitManager.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
index 54a25d8913..152776a651 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
@@ -108,12 +108,12 @@ public:
     }
 
     /// notifyObjectCompiled - Provides a pointer to compiled code for Module M.
-    virtual void notifyObjectCompiled(const llvm::Module *M, llvm::MemoryBufferRef Obj);
+    void notifyObjectCompiled(const llvm::Module *M, llvm::MemoryBufferRef Obj) override;
 
     /// Returns a pointer to a newly allocated MemoryBuffer that contains the
     /// object which corresponds with Module M, or 0 if an object is not
     /// available.
-    virtual std::unique_ptr<llvm::MemoryBuffer> getObject(const llvm::Module* M);
+    std::unique_ptr<llvm::MemoryBuffer> getObject(const llvm::Module* M) override;
 
 private:
     std::string mCpu;




More information about the mesa-commit mailing list