diff options
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index 8c448a8..6972efe 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -34,7 +34,7 @@ Resource::Resource() | |||
34 | : QObject(), | 34 | : QObject(), |
35 | d(0) | 35 | d(0) |
36 | { | 36 | { |
37 | 37 | Q_UNUSED(d); | |
38 | } | 38 | } |
39 | 39 | ||
40 | Resource::~Resource() | 40 | Resource::~Resource() |
@@ -75,7 +75,7 @@ ResourceFactory::ResourceFactory(QObject *parent) | |||
75 | : QObject(parent), | 75 | : QObject(parent), |
76 | d(0) | 76 | d(0) |
77 | { | 77 | { |
78 | 78 | Q_UNUSED(d); | |
79 | } | 79 | } |
80 | 80 | ||
81 | ResourceFactory::~ResourceFactory() | 81 | ResourceFactory::~ResourceFactory() |
@@ -129,3 +129,9 @@ ResourceFactory *ResourceFactory::load(const QString &resourceName) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | } // namespace Sink | 131 | } // namespace Sink |
132 | |||
133 | //Ignore warning I don't know how to fix in a moc file | ||
134 | #pragma clang diagnostic push | ||
135 | #pragma clang diagnostic ignored "-Wundefined-reinterpret-cast" | ||
136 | #include "moc_resource.cpp" | ||
137 | #pragma clang diagnostic pop | ||