Merge pull request #260 from erikaldsund/fix_rvalue_copy_ctor_bug

Fixed bug in json::rvalue copy constructor
This commit is contained in:
Jaeseung Ha 2017-12-25 15:31:11 +09:00 committed by GitHub
commit 6876a08e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,10 +249,10 @@ namespace crow
start_ = r.start_; start_ = r.start_;
end_ = r.end_; end_ = r.end_;
key_ = r.key_; key_ = r.key_;
copy_l(r);
t_ = r.t_; t_ = r.t_;
nt_ = r.nt_; nt_ = r.nt_;
option_ = r.option_; option_ = r.option_;
copy_l(r);
return *this; return *this;
} }
rvalue& operator = (rvalue&& r) noexcept rvalue& operator = (rvalue&& r) noexcept