[Mesa-dev] [PATCH 1/5] swr/rast: Remove unneeded virtual from methods

Kyriazis, George george.kyriazis at intel.com
Thu May 17 15:40:15 UTC 2018


Whole series

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

Thanks!


On May 16, 2018, at 11:14 AM, Alok Hota <alok.hota at intel.com<mailto:alok.hota at intel.com>> wrote:

---
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 54a25d8..152776a 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;
--
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org<mailto:mesa-dev at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180517/a2fba74e/attachment.html>


More information about the mesa-dev mailing list