Skip to content
Merged
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: 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