diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2017-12-25 15:31:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 15:31:11 +0900 |
commit | 6876a08e61a67592b53a823260203a5e9cd04618 (patch) | |
tree | 8296c1c61082b84aa2b4183b7c46ff494ec277b6 | |
parent | 943dcba50736bbf6b193ef335bbb2e320472b827 (diff) | |
parent | 3c45393b2d1955cf172c95306a0ff79e1e0e925d (diff) | |
download | crow-6876a08e61a67592b53a823260203a5e9cd04618.tar.gz crow-6876a08e61a67592b53a823260203a5e9cd04618.zip |
Merge pull request #260 from erikaldsund/fix_rvalue_copy_ctor_bug
Fixed bug in json::rvalue copy constructor
-rw-r--r-- | include/crow/json.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crow/json.h b/include/crow/json.h index 85344fd..fa6c411 100644 --- a/include/crow/json.h +++ b/include/crow/json.h @@ -249,10 +249,10 @@ namespace crow start_ = r.start_; end_ = r.end_; key_ = r.key_; - copy_l(r); t_ = r.t_; nt_ = r.nt_; option_ = r.option_; + copy_l(r); return *this; } rvalue& operator = (rvalue&& r) noexcept |