瀏覽代碼

fixed a type mismatch

master
Ludovic 'Archivist' Lagouardette 3 年之前
父節點
當前提交
7f0c786ccb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      include/gp/system/logging_segment.hpp

+ 1
- 1
include/gp/system/logging_segment.hpp 查看文件

@ -71,7 +71,7 @@ struct static_logging_segment : virtual_logging_segment{
if(wrap_around.has_value()) {
size_t idx = wrap_around.value();
n">size_t override_prio = gp::min_of(data.begin(), data.end(), [](auto v){ return v.priority; });
kt">int16_t override_prio = gp::min_of(data.begin(), data.end(), [](auto v){ return v.priority; });
while(prio >= override_prio) {
if(data[idx].priority == override_prio) {
data[idx] = prepared;

Loading…
取消
儲存