Skip to content

Commit

Permalink
ResourceItem: Fix move assignment of m_lastSet
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Apr 12, 2021
1 parent 18be0e4 commit 59eee63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ ResourceItem &ResourceItem::operator=(ResourceItem &&other) noexcept
m_num = other.m_num;
m_numPrev = other.m_numPrev;
m_rid = other.m_rid;
m_lastSet = std::move(other.m_lastChanged);
m_lastSet = std::move(other.m_lastSet);
m_lastChanged = std::move(other.m_lastChanged);
m_rulesInvolved = std::move(other.m_rulesInvolved);
other.m_rid = &rInvalidItemDescriptor;
Expand Down

0 comments on commit 59eee63

Please sign in to comment.