aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2017-12-25 15:31:11 +0900
committerGitHub <noreply@github.com>2017-12-25 15:31:11 +0900
commit6876a08e61a67592b53a823260203a5e9cd04618 (patch)
tree8296c1c61082b84aa2b4183b7c46ff494ec277b6
parent943dcba50736bbf6b193ef335bbb2e320472b827 (diff)
parent3c45393b2d1955cf172c95306a0ff79e1e0e925d (diff)
downloadcrow-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.h2
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