mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 13:00:50 +00:00
Attempt #2 to appease the buildbots.
MSVC calls the copy ctor on StratifiedSets for some reason. So, undelete it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d3fa84042c
commit
05f452d9a1
@ -94,9 +94,9 @@ struct StratifiedLink {
|
||||
template <typename T> class StratifiedSets {
|
||||
public:
|
||||
StratifiedSets() = default;
|
||||
// If we have a need to copy these at some point, it's fine to default this.
|
||||
// At the time of writing, copying StratifiedSets is always a perf bug.
|
||||
StratifiedSets(const StratifiedSets &) = delete;
|
||||
|
||||
// TODO: Figure out how to make MSVC not call the copy ctor here, and delete
|
||||
// it.
|
||||
|
||||
// Can't default these due to compile errors in MSVC2013
|
||||
StratifiedSets(StratifiedSets &&Other) { *this = std::move(Other); }
|
||||
|
Loading…
Reference in New Issue
Block a user