aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2017-07-11 14:37:08 +0900
committerMITSUNARI Shigeo <[email protected]>2017-07-11 14:37:08 +0900
commit6a0af1fa22ad03b373d6619fb674160c24fa406c (patch)
tree1196eb22b6acc615bf94e9bba62f6876a90cba35
parent032fd1642c6685f80991abba33532a7ed65ac833 (diff)
downloadxbyak-6a0af1fa22ad03b373d6619fb674160c24fa406c.tar.gz
xbyak-6a0af1fa22ad03b373d6619fb674160c24fa406c.zip
fix operator=
-rw-r--r--xbyak/xbyak_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbyak/xbyak_util.h b/xbyak/xbyak_util.h
index e54f30d..ad6cdca 100644
--- a/xbyak/xbyak_util.h
+++ b/xbyak/xbyak_util.h
@@ -320,6 +320,7 @@ public:
}
Pack& operator=(const Pack& rhs)
{
+ n_ = rhs.n_;
for (size_t i = 0; i < n_; i++) tbl_[i] = rhs.tbl_[i];
return *this;
}