diff --git a/include/cif++/item.hpp b/include/cif++/item.hpp index 5013e9f..0bb0b8a 100644 --- a/include/cif++/item.hpp +++ b/include/cif++/item.hpp @@ -395,7 +395,7 @@ struct item_handle template item_handle &operator=(const char (&value)[N]) { - assign_value({ "", std::move(value) }); + assign_value({ "", std::move(value) }.value()); return *this; }