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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exclude: '^share/openPMD/thirdParty'
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down Expand Up @@ -66,7 +66,7 @@ repos:
# clang-format v13
# to run manually, use .github/workflows/clang-format/clang-format.sh
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v20.1.8
rev: v21.1.0
hooks:
- id: clang-format
# By default, the clang-format hook configures:
Expand Down
6 changes: 2 additions & 4 deletions include/openPMD/auxiliary/ShareRaw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ template <typename T>
[[deprecated(
"For storing/loading data via raw pointers use "
"storeChunkRaw<>()/loadChunkRaw<>()")]] //
std::shared_ptr<T>
shareRaw(T *x)
std::shared_ptr<T> shareRaw(T *x)
{
return std::shared_ptr<T>(x, [](T *) {});
}
Expand All @@ -55,8 +54,7 @@ template <typename T>
[[deprecated(
"For storing/loading data via raw pointers use "
"storeChunkRaw<>()/loadChunkRaw<>()")]] //
std::shared_ptr<T const>
shareRaw(T const *x)
std::shared_ptr<T const> shareRaw(T const *x)
{
return std::shared_ptr<T const>(x, [](T const *) {});
}
Expand Down
Loading