From f3350597a38f0f901e287cdacfed0467ac259c0a Mon Sep 17 00:00:00 2001 From: Eugene Timokhov Date: Sun, 4 Sep 2016 03:33:49 +0300 Subject: Fixed crow::json::detail::r_string move operator --- include/json.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/json.h b/include/json.h index 27e621e..9f06244 100644 --- a/include/json.h +++ b/include/json.h @@ -131,6 +131,8 @@ namespace crow s_ = r.s_; e_ = r.e_; owned_ = r.owned_; + if (r.owned_) + r.owned_ = 0; return *this; } -- cgit v1.2.3-54-g00ecf