mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
api: fixed a build linking issue on lottie
- something wrong with typeinfo missing in destructor (don't know reason) and this resolves the problem. - added override specifier for destructors
This commit is contained in:
parent
858205a132
commit
5ce6fca802
3 changed files with 7 additions and 6 deletions
|
@ -1701,7 +1701,7 @@ public:
|
|||
class TVG_API SwCanvas final : public Canvas
|
||||
{
|
||||
public:
|
||||
~SwCanvas();
|
||||
~SwCanvas() override;
|
||||
|
||||
/**
|
||||
* @brief Sets the drawing target for the rasterization.
|
||||
|
@ -1745,7 +1745,7 @@ public:
|
|||
class TVG_API GlCanvas final : public Canvas
|
||||
{
|
||||
public:
|
||||
~GlCanvas();
|
||||
~GlCanvas() override;
|
||||
|
||||
/**
|
||||
* @brief Sets the drawing target for rasterization.
|
||||
|
@ -1794,7 +1794,7 @@ public:
|
|||
class TVG_API WgCanvas final : public Canvas
|
||||
{
|
||||
public:
|
||||
~WgCanvas();
|
||||
~WgCanvas() override;
|
||||
|
||||
/**
|
||||
* @brief Sets the drawing target for the rasterization.
|
||||
|
|
|
@ -20,6 +20,8 @@ namespace tvg
|
|||
class TVG_API LottieAnimation final : public Animation
|
||||
{
|
||||
public:
|
||||
~LottieAnimation() override;
|
||||
|
||||
/**
|
||||
* @brief Override Lottie properties using slot data.
|
||||
*
|
||||
|
|
|
@ -26,9 +26,8 @@
|
|||
#include "tvgAnimation.h"
|
||||
|
||||
|
||||
LottieAnimation::LottieAnimation()
|
||||
{
|
||||
}
|
||||
LottieAnimation::LottieAnimation() = default;
|
||||
LottieAnimation::~LottieAnimation() = default;
|
||||
|
||||
|
||||
Result LottieAnimation::override(const char* slot) noexcept
|
||||
|
|
Loading…
Add table
Reference in a new issue