Fix -Wshadow warnings
Turns out headersclean doesn't run on this header... Change-Id: Ice8691dc0b4b46b2bde38467ca398b61b569a769 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
3d89fa97cc
commit
c580a5cdd4
@ -59,8 +59,8 @@ class QExplicitlySharedDataPointerV2
|
|||||||
public:
|
public:
|
||||||
constexpr QExplicitlySharedDataPointerV2() noexcept : d(nullptr) {}
|
constexpr QExplicitlySharedDataPointerV2() noexcept : d(nullptr) {}
|
||||||
|
|
||||||
explicit QExplicitlySharedDataPointerV2(T *d) noexcept
|
explicit QExplicitlySharedDataPointerV2(T *t) noexcept
|
||||||
: d(d)
|
: d(t)
|
||||||
{
|
{
|
||||||
if (d)
|
if (d)
|
||||||
d->ref.ref();
|
d->ref.ref();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user