Fix -Wshadow warnings

This commit is contained in:
Ion Gaztañaga committed 2021-12-27 14:40:29 +01:00
1 parent 40735223d5
commit ea3521bf14
4 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ struct X;
template<typename T>
struct XRef
{
explicit XRef(T* ptr) : ptr(ptr) {}
explicit XRef(T* p) : ptr(p) {}
operator T*() const { return ptr; }
T* ptr;
};