Commit f02e59df by Maarten L. Hekkelman

Fix operator= for item_handle

parent 04147a2f
...@@ -395,7 +395,7 @@ struct item_handle ...@@ -395,7 +395,7 @@ struct item_handle
template <size_t N> template <size_t N>
item_handle &operator=(const char (&value)[N]) item_handle &operator=(const char (&value)[N])
{ {
assign_value({ "", std::move(value) }); assign_value({ "", std::move(value) }.value());
return *this; return *this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment