Skip to content

Commit c5fb5de

Browse files
[pre-commit.ci] pre-commit autoupdate (openPMD#1803)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/mirrors-clang-format: v21.1.2 → v21.1.5](pre-commit/mirrors-clang-format@v21.1.2...v21.1.5) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent baeb82f commit c5fb5de

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ repos:
6666
# clang-format v13
6767
# to run manually, use .github/workflows/clang-format/clang-format.sh
6868
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v21.1.2
69+
rev: v21.1.5
7070
hooks:
7171
- id: clang-format
7272
# By default, the clang-format hook configures:

src/backend/BaseRecord.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,7 @@ auto BaseRecord<T_elem>::operator[](key_type const &key) -> mapped_type &
398398
T_RecordComponent::get();
399399
}
400400
mapped_type &ret = keyScalar ? static_cast<mapped_type &>(*this)
401-
: T_Container::
402-
operator[](key);
401+
: T_Container::operator[](key);
403402
return ret;
404403
}
405404
}
@@ -441,8 +440,7 @@ auto BaseRecord<T_elem>::operator[](key_type &&key) -> mapped_type &
441440
T_RecordComponent::get();
442441
}
443442
mapped_type &ret = keyScalar ? static_cast<mapped_type &>(*this)
444-
: T_Container::
445-
operator[](std::move(key));
443+
: T_Container::operator[](std::move(key));
446444
return ret;
447445
}
448446
}

0 commit comments

Comments
 (0)