mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +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
|
class TVG_API SwCanvas final : public Canvas
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~SwCanvas();
|
~SwCanvas() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the drawing target for the rasterization.
|
* @brief Sets the drawing target for the rasterization.
|
||||||
|
@ -1745,7 +1745,7 @@ public:
|
||||||
class TVG_API GlCanvas final : public Canvas
|
class TVG_API GlCanvas final : public Canvas
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~GlCanvas();
|
~GlCanvas() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the drawing target for rasterization.
|
* @brief Sets the drawing target for rasterization.
|
||||||
|
@ -1794,7 +1794,7 @@ public:
|
||||||
class TVG_API WgCanvas final : public Canvas
|
class TVG_API WgCanvas final : public Canvas
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~WgCanvas();
|
~WgCanvas() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the drawing target for the rasterization.
|
* @brief Sets the drawing target for the rasterization.
|
||||||
|
|
|
@ -20,6 +20,8 @@ namespace tvg
|
||||||
class TVG_API LottieAnimation final : public Animation
|
class TVG_API LottieAnimation final : public Animation
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
~LottieAnimation() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Override Lottie properties using slot data.
|
* @brief Override Lottie properties using slot data.
|
||||||
*
|
*
|
||||||
|
|
|
@ -26,9 +26,8 @@
|
||||||
#include "tvgAnimation.h"
|
#include "tvgAnimation.h"
|
||||||
|
|
||||||
|
|
||||||
LottieAnimation::LottieAnimation()
|
LottieAnimation::LottieAnimation() = default;
|
||||||
{
|
LottieAnimation::~LottieAnimation() = default;
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Result LottieAnimation::override(const char* slot) noexcept
|
Result LottieAnimation::override(const char* slot) noexcept
|
||||||
|
|
Loading…
Add table
Reference in a new issue