Skip to content

Commit

Permalink
Fix operator= for item_handle
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 30, 2024
1 parent 04147a2 commit f02e59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cif++/item.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ struct item_handle
template <size_t N>
item_handle &operator=(const char (&value)[N])
{
assign_value({ "", std::move(value) });
assign_value({ "", std::move(value) }.value());
return *this;
}

Expand Down

0 comments on commit f02e59d

Please sign in to comment.