1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Don't stash types that aren't copyable or moveable into a SmallVector

This seems to be working by accident.
This commit is contained in:
Benjamin Kramer 2020-04-26 22:44:31 +02:00
parent 497a019107
commit 5f955966e5

View File

@ -145,13 +145,6 @@ class CombinationGenerator {
assert(!Range.empty() && "The range must not be empty.");
rewind();
}
// Only allow using our custom constructor.
WrappingIterator() = delete;
WrappingIterator(const WrappingIterator &) = delete;
WrappingIterator(WrappingIterator &&) = delete;
WrappingIterator &operator=(const WrappingIterator &) = delete;
WrappingIterator &operator=(WrappingIterator &&) = delete;
};
const ArrayRef<choices_storage_type> VariablesChoices;