mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-20 22:20:50 +00:00
Don't swap streams as clang and gcc have problems with it
This commit is contained in:
parent
7fb32ab45a
commit
eae57b865e
@ -89,7 +89,9 @@ void CopyRegion::swap()
|
||||
}
|
||||
}
|
||||
|
||||
std::swap(m_stream, tmp);
|
||||
// TODO use m_stream.swap(tmp) when clang and gcc support it
|
||||
m_stream.str(tmp.str());
|
||||
m_stream.clear();
|
||||
}
|
||||
|
||||
} // namespace cmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user