diff options
author | Eugene Timokhov <timocov@gmail.com> | 2016-09-04 03:33:49 +0300 |
---|---|---|
committer | Eugene Timokhov <timocov@gmail.com> | 2016-09-04 03:33:49 +0300 |
commit | f3350597a38f0f901e287cdacfed0467ac259c0a (patch) | |
tree | bd5f8be960cdb55c7e90825784bf7c95a6034506 | |
parent | 3b8035edbe9e1228a3cd11d0fa829e17fc211fa5 (diff) | |
download | crow-f3350597a38f0f901e287cdacfed0467ac259c0a.tar.gz crow-f3350597a38f0f901e287cdacfed0467ac259c0a.zip |
Fixed crow::json::detail::r_string move operator
-rw-r--r-- | include/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |