mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Remove the ValueMap operator=, which was wrong (it did't correct the
Map pointers of any contained ValueMapCallbackVH's) and unused. llvm-svn: 110577
This commit is contained in:
parent
e2c0e66ff1
commit
6eec2f9421
@ -83,6 +83,7 @@ class ValueMap {
|
||||
MapT Map;
|
||||
ExtraData Data;
|
||||
ValueMap(const ValueMap&); // DO NOT IMPLEMENT
|
||||
ValueMap& operator=(const ValueMap&); // DO NOT IMPLEMENT
|
||||
public:
|
||||
typedef KeyT key_type;
|
||||
typedef ValueT mapped_type;
|
||||
@ -160,12 +161,6 @@ public:
|
||||
return Map[Wrap(Key)];
|
||||
}
|
||||
|
||||
ValueMap& operator=(const ValueMap& Other) {
|
||||
Map = Other.Map;
|
||||
Data = Other.Data;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// isPointerIntoBucketsArray - Return true if the specified pointer points
|
||||
/// somewhere into the ValueMap's array of buckets (i.e. either to a key or
|
||||
/// value in the ValueMap).
|
||||
|
Loading…
Reference in New Issue
Block a user