From 292dbbb6ace0d38bc2a7d7fc1b8574a2ae262b3c Mon Sep 17 00:00:00 2001 From: iMineLink Date: Sat, 10 Nov 2018 18:50:19 +0100 Subject: [PATCH] GSdx-TC: Remove virtual specifier from PaletteKeyHash operator, PaletteKeyEqual operator and Palette destructor. (#2680) Small follow up corrections from #2344 highlighted by @turtleli --- plugins/GSdx/GSTextureCache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSTextureCache.h b/plugins/GSdx/GSTextureCache.h index bc76a19ae1..5eb0d66e9f 100644 --- a/plugins/GSdx/GSTextureCache.h +++ b/plugins/GSdx/GSTextureCache.h @@ -60,7 +60,7 @@ public: public: Palette(const GSRenderer* renderer, uint16 pal); // Creates a copy of the current clut and a texture with its content - virtual ~Palette(); // Default destructor, recycles palette texture and frees clut copy + ~Palette(); // Default destructor, recycles palette texture and frees clut copy // Disable copy constructor and copy operator Palette(const Palette&) = delete; @@ -84,12 +84,12 @@ public: struct PaletteKeyHash { // Calculate hash - virtual std::size_t operator()(const PaletteKey &key) const; + std::size_t operator()(const PaletteKey &key) const; }; struct PaletteKeyEqual { // Compare clut contents - virtual bool operator()(const PaletteKey &lhs, const PaletteKey &rhs) const; + bool operator()(const PaletteKey &lhs, const PaletteKey &rhs) const; }; class Source : public Surface