Skip to content

Commit 209d50e

Browse files
dietmarkuehlgithub-actions[bot]
authored andcommitted
Auto-update pre-commit hooks
1 parent c6fe16f commit 209d50e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
# See also: https://github.com/ssciwr/clang-format-wheel
2525
# Config file: .clang-format
2626
- repo: https://github.com/pre-commit/mirrors-clang-format
27-
rev: v21.1.8
27+
rev: v22.1.0
2828
hooks:
2929
- id: clang-format
3030
types_or: [c++, c, json, javascript]

tests/beman/task/promise_type.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct thread_pool {
4949
std::unique_lock cerberus(mutex);
5050
condition.wait(cerberus, [this] { return stopped || stack; });
5151
return this->stack ? std::optional<node*>(std::exchange(this->stack, this->stack->next))
52-
: std::optional<node*>();
52+
: std::optional<node*>();
5353
}()) {
5454
(*n)->run();
5555
}

0 commit comments

Comments
 (0)