fix(register): force to sync since the _M_assigned may not be available
This commit is contained in:
@ -19,10 +19,8 @@ struct Register {
|
||||
debug::DebugValue <bool, false> _M_assigned;
|
||||
|
||||
void sync() {
|
||||
if (this->_M_assigned) {
|
||||
this->_M_assigned = false;
|
||||
this->_M_old = this->_M_new;
|
||||
}
|
||||
this->_M_assigned = false;
|
||||
this->_M_old = this->_M_new;
|
||||
}
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user