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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ repos:
# This brings in a portable version of clang-format.
# See also: https://github.com/ssciwr/clang-format-wheel
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
rev: v19.1.4
hooks:
- id: clang-format
types_or: [c++, c]

# CMake linting and formatting
- repo: https://github.com/BlankSpruce/gersemi
rev: 0.15.1
rev: 0.17.1
hooks:
- id: gersemi
name: CMake linting

# Markdown linting
# Config file: .markdownlint.yaml
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
rev: v0.43.0
hooks:
- id: markdownlint

Expand Down
4 changes: 2 additions & 2 deletions tests/beman/inplace_vector/ref_impl.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ int main() {
CHECK(a.size() == std::size_t(10));
CHECK(!a.empty());
CHECK_THROWS(a.push_back(0), std::bad_alloc);
CHECK((uintptr_t) nullptr == (uintptr_t)a.try_push_back(0));
CHECK((uintptr_t)nullptr == (uintptr_t)a.try_push_back(0));
}

{ // resize copyable
Expand Down Expand Up @@ -762,7 +762,7 @@ int main() {
CHECK(c.front().getd() == 3.5);
CHECK(c.back().geti() == 3);
CHECK(c.back().getd() == 4.5);
CHECK((uintptr_t) nullptr == (uintptr_t)c.try_emplace_back(2, 3.5));
CHECK((uintptr_t)nullptr == (uintptr_t)c.try_emplace_back(2, 3.5));
}
{ // unchecked_emplace_back
vector<non_copyable, 2> c;
Expand Down
Loading