diff --git a/json/json_elements.hh b/json/json_elements.hh index b6cda8925..af557fc2a 100644 --- a/json/json_elements.hh +++ b/json/json_elements.hh @@ -252,6 +252,8 @@ struct json_return_type { json_return_type(const T& res) { _res = formatter::to_json(res); } + json_return_type(json_return_type&&) = default; + json_return_type& operator=(json_return_type&&) = default; }; }