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:
|
||||
constexpr QExplicitlySharedDataPointerV2() noexcept : d(nullptr) {}
|
||||
|
||||
explicit QExplicitlySharedDataPointerV2(T *d) noexcept
|
||||
: d(d)
|
||||
explicit QExplicitlySharedDataPointerV2(T *t) noexcept
|
||||
: d(t)
|
||||
{
|
||||
if (d)
|
||||
d->ref.ref();
|
||||
|
Loading…
x
Reference in New Issue
Block a user