Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ Contributors:
- [0x007004](https://github.com/0x007004)
- [AsunaU2](https://github.com/AsunaU2)
- [SolerHo](https://github.com/SolerHo)
- [guanquanchen](https://github.com/guanquanchen)

感谢以上朋友,为CGraph项目做出的贡献,排名以贡献时间前后为顺序。
2 changes: 1 addition & 1 deletion src/UtilsCtrl/ThreadPool/UThreadPoolConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct UThreadPoolConfig : public CStruct {
* @return
*/
int calcStealRange() const {
int range = std::min(this->max_task_steal_range_, this->default_thread_size_ - 1);
int range = (std::min)(this->max_task_steal_range_, this->default_thread_size_ - 1);
return range;
}

Expand Down
Loading