mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:35:46 -04:00
Compile fixes for GCC
This commit is contained in:
@ -10,10 +10,8 @@
|
||||
template<typename BackingDataType, typename DataType, unsigned BitIndex, unsigned BitCount>
|
||||
struct BitField
|
||||
{
|
||||
constexpr BitField() = default;
|
||||
#ifndef _MSC_VER
|
||||
BitField& operator=(const BitField& value) = delete;
|
||||
#endif
|
||||
// We have to delete the copy assignment operator otherwise we can't use this class in anonymous structs/unions.
|
||||
BitField& operator=(const BitField& rhs) = delete;
|
||||
|
||||
constexpr BackingDataType GetMask() const
|
||||
{
|
||||
@ -138,4 +136,4 @@ struct BitField
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user