Fix shadowing warning

llvm-svn: 309851
This commit is contained in:
Marshall Clow
2017-08-02 18:21:34 +00:00
parent d869913f3b
commit 4f4fc2ea7b

View File

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