Skip to content

Commit

Permalink
fable: Fix unnecessary copy in Struct schema
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Nov 17, 2023
1 parent 2c93aa8 commit 59f301a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fable/include/fable/schema/struct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Struct : public Base<Struct> {
}

template <typename T>
Struct properties_from(const T x) {
Struct properties_from(const T x) && {
set_properties_from(x);
return std::move(*this);
}
Expand Down

0 comments on commit 59f301a

Please sign in to comment.