Fix shadowing warning
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,7 +22,7 @@ template<typename T>
|
||||
struct NoDefaultAllocator : std::allocator<T>
|
||||
{
|
||||
template<typename U> struct rebind { using other = NoDefaultAllocator<U>; };
|
||||
NoDefaultAllocator(int id) : id(id) { }
|
||||
NoDefaultAllocator(int id_) : id(id_) { }
|
||||
template<typename U> NoDefaultAllocator(const NoDefaultAllocator<U>& a) : id(a.id) { }
|
||||
int id;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user