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:
George Burgess IV 2016-06-08 17:56:35 +00:00
parent d3fa84042c
commit 05f452d9a1

View File

@ -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); }