已合并
fix: dot ophpst编译报错修改 #649
Sunee创建于 7月16日
fix: dot ophpst编译报错修改 #649
已合并
共 3 个文件变更+5-2
| @@ -15,6 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | + | ||
| 18 | namespace Ops { | 19 | namespace Ops { |
| 19 | namespace Base { | 20 | namespace Base { |
| 20 | enum class MemLevel : uint8_t { | 21 | enum class MemLevel : uint8_t { |
| @@ -199,8 +200,8 @@ struct DecodeBufferIdWithPos { | |||
| 199 | 200 | ||
| 200 | template <int BufferId> | 201 | template <int BufferId> |
| 201 | struct CombinedBufferCount { | 202 | struct CombinedBufferCount { |
| 202 | - const static uint32_t tmp = static_cast<uint32_t>(BufferId) >> (BUF_COMBINE_SHIFT * BUF_COMBINED_MAX) & | 203 | + const static uint32_t tmp = |
| 203 | - BUF_COMBINE_MASK; | 204 | + static_cast<uint32_t>(BufferId) >> (BUF_COMBINE_SHIFT * BUF_COMBINED_MAX) & BUF_COMBINE_MASK; |
| 204 | constexpr static uint32_t Value = (tmp == 0 || tmp > BUF_COMBINED_MAX) ? 1 : tmp; | 205 | constexpr static uint32_t Value = (tmp == 0 || tmp > BUF_COMBINED_MAX) ? 1 : tmp; |
| 205 | }; | 206 | }; |
| 206 | 207 | ||
| @@ -19,6 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | + | ||
| 22 | 23 | ||
| 23 | namespace Ops { | 24 | namespace Ops { |
| 24 | namespace Base { | 25 | namespace Base { |
| @@ -15,6 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | + | ||
| 18 | 19 | ||
| 19 | 20 | ||
| 20 | 21 | ||