Skip to content

Commit 2719a56

Browse files
authored
Merge pull request #14121 from jordan-woyak/warn-silence
Common and VideoCommon: Silence a few warnings.
2 parents 2acb495 + 9dea085 commit 2719a56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Source/Core/Common/BitField.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ struct BitField
129129
// so that we can use this within unions
130130
constexpr BitField() = default;
131131

132+
// Allow copy construction.
133+
constexpr BitField(const BitField&) = default;
134+
132135
// We explicitly delete the copy assignment operator here, because the
133136
// default copy assignment would copy the full storage value, rather than
134137
// just the bits relevant to this particular bit field.
@@ -382,7 +385,6 @@ class BitFieldArrayIterator
382385
constexpr BitFieldArrayIterator(BitFieldArrayIterator&& other) = default;
383386
BitFieldArrayIterator& operator=(BitFieldArrayIterator&& other) = default;
384387

385-
public:
386388
BitFieldArrayIterator& operator++()
387389
{
388390
m_index++;

Source/Core/VideoCommon/FramebufferManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class FramebufferManager final
4949
{
5050
public:
5151
FramebufferManager();
52-
virtual ~FramebufferManager();
52+
~FramebufferManager();
5353

5454
// Does not require the framebuffer to be created. Slower than direct queries.
5555
static AbstractTextureFormat GetEFBColorFormat();

0 commit comments

Comments
 (0)