mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
1b0b89776f
commit
292dbbb6ac
|
@ -60,7 +60,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Palette(const GSRenderer* renderer, uint16 pal); // Creates a copy of the current clut and a texture with its content
|
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
|
// Disable copy constructor and copy operator
|
||||||
Palette(const Palette&) = delete;
|
Palette(const Palette&) = delete;
|
||||||
|
@ -84,12 +84,12 @@ public:
|
||||||
|
|
||||||
struct PaletteKeyHash {
|
struct PaletteKeyHash {
|
||||||
// Calculate hash
|
// Calculate hash
|
||||||
virtual std::size_t operator()(const PaletteKey &key) const;
|
std::size_t operator()(const PaletteKey &key) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PaletteKeyEqual {
|
struct PaletteKeyEqual {
|
||||||
// Compare clut contents
|
// 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
|
class Source : public Surface
|
||||||
|
|
Loading…
Reference in New Issue