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 @@ -2,13 +2,13 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.33.0
rev: 0.33.3
hooks:
- id: check-github-actions
- id: check-github-workflows

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files # prevents giant files from being committed.
- id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems.
Expand All @@ -22,7 +22,7 @@ repos:
- id: trailing-whitespace # trims trailing whitespace.

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v20.1.6'
rev: 'v21.1.0'
hooks:
- id: clang-format
args: ["-style=file", "-i"]
Expand Down
4 changes: 1 addition & 3 deletions src/rpp/rpp/observers/dynamic_observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ namespace rpp::details::observers
.on_error_ptr = +[](const Base* b, const std::exception_ptr& err) { cast(b).on_error(err); },
.on_completed_ptr = +[](const Base* b) { cast(b).on_completed(); },
.set_upstream_ptr = +[](Base* b, const rpp::disposable_wrapper& d) { cast(b).set_upstream(d); },
.is_disposed_ptr = +[](const Base* b) {
return cast(b).is_disposed();
}}}
.is_disposed_ptr = +[](const Base* b) { return cast(b).is_disposed(); }}}
, m_observer{std::move(observer)}
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/rpp/rpp/utils/constraints.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace rpp::constraint
template<typename T, typename... Args>
concept is_constructible_from = requires(Args... args) {
{
T{static_cast<Args &&>(args)...}
T{static_cast<Args&&>(args)...}
} -> std::same_as<T>;
};

Expand Down
2 changes: 1 addition & 1 deletion src/rpp/rpp/utils/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace rpp::utils
operator T&() const;

template<typename T>
operator const T &() const;
operator const T&() const;

template<typename T>
operator T&&() const;
Expand Down
Loading