Skip to content

Commit 4f17e31

Browse files
committed
fix warnings
1 parent f6b554e commit 4f17e31

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/lottie/lottiefiltermodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class LOTVariant {
224224
PointFunc pointFunc;
225225
SizeFunc sizeFunc;
226226
details() {}
227-
~details() {}
227+
~details() noexcept {}
228228
} impl;
229229
};
230230

src/lottie/lottieitem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ void renderer::Mask::preprocess(const VRect &clip)
214214
}
215215

216216
void renderer::Layer::render(VPainter *painter, const VRle &inheritMask,
217-
const VRle &matteRle, SurfaceCache &cache)
217+
const VRle &matteRle, SurfaceCache &)
218218
{
219219
auto renderlist = renderList();
220220

src/lottie/lottieparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class LottieParserImpl : public LookaheadParserHandler {
254254
void getValue(model::Repeater::Transform &);
255255

256256
template <typename T, typename Tag>
257-
bool parseKeyFrameValue(const char *key, model::Value<T, Tag> &value)
257+
bool parseKeyFrameValue(const char *, model::Value<T, Tag> &)
258258
{
259259
return false;
260260
}

src/vector/vdrawable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ VDrawable::VDrawable(VDrawable::Type type)
2929
setType(type);
3030
}
3131

32-
VDrawable::~VDrawable()
32+
VDrawable::~VDrawable() noexcept
3333
{
3434
if (mStrokeInfo) {
3535
if (mType == Type::StrokeWithDash) {

0 commit comments

Comments
 (0)