diff options
Diffstat (limited to 'include/json.h')
-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; } |