Skip to content
Open
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
2 changes: 0 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ Checks: >
clang-analyzer-cplusplus.NewDelete,
# --- qnx-checks ---
bugprone-reserved-identifier,
# --- extra ---
modernize-concat-nested-namespaces,

WarningsAsErrors: >
clang-analyzer-*,
Expand Down
2 changes: 1 addition & 1 deletion score/mw/com/impl/skeleton_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class SkeletonField : public SkeletonFieldBase
static_assert(std::is_invocable_v<CallableType, FieldType&>,
"RegisterSetHandler: handler must be callable as void(FieldType& value). "
"The argument initially holds the proxy-requested value and may be modified in-place.");
set_handler_ = std::move(handler);
set_handler_ = std::forward<CallableType>(handler);

auto wrapped_callback = [this](FieldType& new_value) -> FieldType {
// Allow user to validate/modify the value in-place
Expand Down