Fix ptridx move constructor delegating to ptr copy constructor
Fix a bug where the ptridx converting move constructor delegated to the ptr converting copy constructor, since the ptr copy constructor had filename/line arguments, the ptr move constructor did not, and the ptridx move constructor always passed filename/line.
This commit is contained in:
parent
ca383c1fe7
commit
5950485a6c
|
@ -659,9 +659,9 @@ public:
|
|||
{
|
||||
}
|
||||
template <typename rpolicy>
|
||||
ptridx(ptridx<rpolicy> &&rhs DXX_VALPTRIDX_REPORT_STANDARD_LEADER_COMMA_L_DECL_VARS) :
|
||||
vptr_type(static_cast<typename ptridx<rpolicy>::vptr_type &&>(rhs) DXX_VALPTRIDX_REPORT_STANDARD_LEADER_COMMA_L_PASS_VARS),
|
||||
vidx_type(static_cast<typename ptridx<rpolicy>::vidx_type &&>(rhs) DXX_VALPTRIDX_REPORT_STANDARD_LEADER_COMMA_L_PASS_VARS)
|
||||
ptridx(ptridx<rpolicy> &&rhs) :
|
||||
vptr_type(static_cast<typename ptridx<rpolicy>::vptr_type &&>(rhs)),
|
||||
vidx_type(static_cast<typename ptridx<rpolicy>::vidx_type &&>(rhs))
|
||||
{
|
||||
}
|
||||
template <integral_type v>
|
||||
|
|
Loading…
Reference in a new issue