From 3f4d0cf3976fc6fe356e1712008d08df5d24daa5 Mon Sep 17 00:00:00 2001 From: Sahithi Nukala Date: Tue, 28 Apr 2026 11:23:31 +0200 Subject: [PATCH] fix(com/impl): fix clang-tidy warnings for fields --- score/mw/com/impl/skeleton_field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/score/mw/com/impl/skeleton_field.h b/score/mw/com/impl/skeleton_field.h index 228ab650d..13635da3c 100644 --- a/score/mw/com/impl/skeleton_field.h +++ b/score/mw/com/impl/skeleton_field.h @@ -125,7 +125,7 @@ class SkeletonField : public SkeletonFieldBase static_assert(std::is_invocable_v, "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(handler); auto wrapped_callback = [this](FieldType& new_value) -> FieldType { // Allow user to validate/modify the value in-place