We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ec9ca commit dd32ddcCopy full SHA for dd32ddc
1 file changed
src/expire-tiles.cpp
@@ -257,7 +257,8 @@ void expire_tiles::merge_and_destroy(expire_tiles *other)
257
}
258
259
if (m_dirty_tiles.empty()) {
260
- m_dirty_tiles = std::move(other->m_dirty_tiles);
+ using std::swap;
261
+ swap(m_dirty_tiles, other->m_dirty_tiles);
262
} else {
263
m_dirty_tiles.insert(other->m_dirty_tiles.begin(),
264
other->m_dirty_tiles.end());
0 commit comments