diff --git a/Source/Core/Common/BitField.h b/Source/Core/Common/BitField.h index 9eef80e032..35f8871b12 100644 --- a/Source/Core/Common/BitField.h +++ b/Source/Core/Common/BitField.h @@ -129,6 +129,9 @@ public: // so that we can use this within unions constexpr BitField() = default; + // Allow copy construction. + constexpr BitField(const BitField&) = default; + // We explicitly delete the copy assignment operator here, because the // default copy assignment would copy the full storage value, rather than // just the bits relevant to this particular bit field. @@ -382,7 +385,6 @@ public: constexpr BitFieldArrayIterator(BitFieldArrayIterator&& other) = default; BitFieldArrayIterator& operator=(BitFieldArrayIterator&& other) = default; -public: BitFieldArrayIterator& operator++() { m_index++; diff --git a/Source/Core/VideoCommon/FramebufferManager.h b/Source/Core/VideoCommon/FramebufferManager.h index 7654698070..9f10918ac2 100644 --- a/Source/Core/VideoCommon/FramebufferManager.h +++ b/Source/Core/VideoCommon/FramebufferManager.h @@ -49,7 +49,7 @@ class FramebufferManager final { public: FramebufferManager(); - virtual ~FramebufferManager(); + ~FramebufferManager(); // Does not require the framebuffer to be created. Slower than direct queries. static AbstractTextureFormat GetEFBColorFormat();