Browse Source

fix(build): remove build so many warning on windows

GitOrigin-RevId: 124b8975db
master
Megvii Engine Team 2 years ago
parent
commit
68d2710810
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dnn/include/megdnn/dtype.h

+ 1
- 1
dnn/include/megdnn/dtype.h View File

@@ -634,7 +634,7 @@ struct log<1> {
static const uint16_t size_log = ::megdnn::dtype::log<sizeof(ctype)>::value; \
static MEGDNN_CONSTEXPR int enumv = DTypeEnum::_name; \
static MEGDNN_CONSTEXPR uint16_t low_bit = _bits; \
static MEGDNN_CONSTEXPR uint16_t bits = _bits == 0 ? sizeof(_ctype) * 8 : _bits;
static MEGDNN_CONSTEXPR uint16_t bits = _bits == 0 ? sizeof(_ctype) * 8 : _bits
#endif // MEGDNN_CC_HOST

#define MEGDNN_DEF_DT(_name, _ctype, _cat, _sign, _minval, _maxval) \


Loading…
Cancel
Save