GSdx-TC: Remove virtual specifier from PaletteKeyHash operator, PaletteKeyEqual operator and Palette destructor. (#2680)

Small follow up corrections from #2344 highlighted by @turtleli
This commit is contained in:
iMineLink 2018-11-10 18:50:19 +01:00 committed by lightningterror
parent 1b0b89776f
commit 292dbbb6ac
1 changed files with 3 additions and 3 deletions

View File

@ -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