diff options
Diffstat (limited to 'src/common/multi_level_queue.h')
| -rw-r--r-- | src/common/multi_level_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/multi_level_queue.h b/src/common/multi_level_queue.h index 71613f18b..4b305bf40 100644 --- a/src/common/multi_level_queue.h +++ b/src/common/multi_level_queue.h | |||
| @@ -320,7 +320,7 @@ private: | |||
| 320 | } | 320 | } |
| 321 | 321 | ||
| 322 | const auto begin_range = list.begin(); | 322 | const auto begin_range = list.begin(); |
| 323 | const auto end_range = std::next(begin_range, static_cast<std::ptrdiff_t>(shift)); | 323 | const auto end_range = std::next(begin_range, shift); |
| 324 | list.splice(list.end(), list, begin_range, end_range); | 324 | list.splice(list.end(), list, begin_range, end_range); |
| 325 | } | 325 | } |
| 326 | 326 | ||