From da8649c02d16dc771b132297b5eee5b16adb0f1a Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Thu, 3 Dec 2015 19:51:55 +0100 Subject: [PATCH] Make json_return_type movable --- json/json_elements.hh | 2 ++ 1 file changed, 2 insertions(+) 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; }; }