mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 04:51:23 +00:00
Fix shadowing warning
llvm-svn: 309851
This commit is contained in:
1 parent
d869913f3b
commit
4f4fc2ea7b
1 file changed
+1
-1
@@ -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