Просмотр исходного кода

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.
Lioncash 7 лет назад
Родитель
Сommit
109b78a6d6
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/common/bit_field.h

+ 0 - 2
src/common/bit_field.h

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