Merge pull request #14121 from jordan-woyak/warn-silence

Common and VideoCommon: Silence a few warnings.
This commit is contained in:
Jordan Woyak 2025-11-19 22:09:19 -06:00 committed by GitHub
commit 2719a5673e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -129,6 +129,9 @@ public:
// so that we can use this within unions // so that we can use this within unions
constexpr BitField() = default; constexpr BitField() = default;
// Allow copy construction.
constexpr BitField(const BitField&) = default;
// We explicitly delete the copy assignment operator here, because the // We explicitly delete the copy assignment operator here, because the
// default copy assignment would copy the full storage value, rather than // default copy assignment would copy the full storage value, rather than
// just the bits relevant to this particular bit field. // just the bits relevant to this particular bit field.
@ -382,7 +385,6 @@ public:
constexpr BitFieldArrayIterator(BitFieldArrayIterator&& other) = default; constexpr BitFieldArrayIterator(BitFieldArrayIterator&& other) = default;
BitFieldArrayIterator& operator=(BitFieldArrayIterator&& other) = default; BitFieldArrayIterator& operator=(BitFieldArrayIterator&& other) = default;
public:
BitFieldArrayIterator& operator++() BitFieldArrayIterator& operator++()
{ {
m_index++; m_index++;

View File

@ -49,7 +49,7 @@ class FramebufferManager final
{ {
public: public:
FramebufferManager(); FramebufferManager();
virtual ~FramebufferManager(); ~FramebufferManager();
// Does not require the framebuffer to be created. Slower than direct queries. // Does not require the framebuffer to be created. Slower than direct queries.
static AbstractTextureFormat GetEFBColorFormat(); static AbstractTextureFormat GetEFBColorFormat();