Skip to content

Commit

Permalink
Make json_return_type movable
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrabiec authored and avikivity committed Dec 5, 2015
1 parent 7451904 commit da8649c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions json/json_elements.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

}
Expand Down

0 comments on commit da8649c

Please sign in to comment.