diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2016-09-06 09:10:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 09:10:36 +0900 |
commit | 3b389460921e9b0869f81cc0c5b6cc98c3a3ee01 (patch) | |
tree | bd5f8be960cdb55c7e90825784bf7c95a6034506 | |
parent | 3b8035edbe9e1228a3cd11d0fa829e17fc211fa5 (diff) | |
parent | f3350597a38f0f901e287cdacfed0467ac259c0a (diff) | |
download | crow-3b389460921e9b0869f81cc0c5b6cc98c3a3ee01.tar.gz crow-3b389460921e9b0869f81cc0c5b6cc98c3a3ee01.zip |
Merge pull request #154 from timocov/fixed_r_string_move
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; } |