mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
disable SmallVectorImpl's copy constructor. This prevents a class
of base class slicing bugs reported on irc llvm-svn: 106028
This commit is contained in:
parent
81b428d9ad
commit
7420a283cf
@ -269,6 +269,8 @@ public:
|
||||
template <typename T>
|
||||
class SmallVectorImpl : public SmallVectorTemplateBase<T, isPodLike<T>::value> {
|
||||
typedef SmallVectorTemplateBase<T, isPodLike<T>::value > SuperClass;
|
||||
|
||||
SmallVectorImpl(const SmallVectorImpl&); // DISABLED.
|
||||
public:
|
||||
typedef typename SuperClass::iterator iterator;
|
||||
typedef typename SuperClass::size_type size_type;
|
||||
|
Loading…
Reference in New Issue
Block a user