Commit 1e2c4254 authored by David Jarvie's avatar David Jarvie
Browse files

Suppress cppcheck warnings

parent 6131e797
Pipeline #149201 failed with stage
in 43 seconds
......@@ -21,7 +21,7 @@ class AutoQPointer : public QPointer<T>
{
public:
AutoQPointer() = default;
AutoQPointer(T* p) : QPointer<T>(p) {}
AutoQPointer(T* p) : QPointer<T>(p) {} //cppcheck-suppress noExplicitConstructor
AutoQPointer(const QPointer<T>& p) : QPointer<T>(p) {}
~AutoQPointer() { delete this->data(); }
AutoQPointer<T>& operator=(const AutoQPointer<T>& p) { QPointer<T>::operator=(p); return *this; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment