Fix -Wshadow warnings

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

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