1
0
Fork 0
forked from suyu/suyu

common/bit_util: Fix bad merge duplicating the copy constructor

Introduced as a result of #2090, we already define the copy constructor
further down below, so this isn't needed.
This commit is contained in:
Lioncash 2019-03-20 23:48:34 -04:00
parent 3e930304fe
commit 109b78a6d6

View file

@ -125,8 +125,6 @@ private:
using StorageTypeWithEndian = typename AddEndian<StorageType, EndianTag>::type; using StorageTypeWithEndian = typename AddEndian<StorageType, EndianTag>::type;
public: public:
BitField& operator=(const BitField&) = default;
/// Constants to allow limited introspection of fields if needed /// Constants to allow limited introspection of fields if needed
static constexpr std::size_t position = Position; static constexpr std::size_t position = Position;
static constexpr std::size_t bits = Bits; static constexpr std::size_t bits = Bits;