Explorar o código

bit_field: Fix a typo in the sample usage.

Lioncash %!s(int64=11) %!d(string=hai) anos
pai
achega
2dce9b2ead
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/bit_field.h

+ 1 - 1
src/common/bit_field.h

@@ -68,7 +68,7 @@
  *     u32 hex;
  *
  *     BitField<0,7,u32> first_seven_bits;     // unsigned
- *     BitField<7,8,32> next_eight_bits;       // unsigned
+ *     BitField<7,8,u32> next_eight_bits;      // unsigned
  *     BitField<3,15,s32> some_signed_fields;  // signed
  * };
  *