}
BaseObject(const BaseObject& rhs)
- : pcid(rhs.cid), cid(HRC::now()), cidx(rhs.cindex)
+ : pcid(rhs.cid), cid(HRC::now()), cindex(rhs.cindex)
{
}
BaseObject(const BaseObject&& rhs)
- : pcid(std::move(rhs.pcid)), cid(std::move(rhs.cid)), cidx(std::move(rhs.cindex))
+ : pcid(std::move(rhs.pcid)), cid(std::move(rhs.cid)), cindex(std::move(rhs.cindex))
{
}
return *this;
}
- BaseObject& operator=(const BaseObject&& rhs)
+ BaseObject& operator=(BaseObject&& rhs)
{
pcid = std::move(rhs.pcid);
cid = std::move(rhs.cid);