api: not allow the inheritance of the Saver.
authorHermet Park <chuneon.park@samsung.com>
Fri, 22 Oct 2021 10:09:25 +0000 (19:09 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 26 Oct 2021 03:56:49 +0000 (12:56 +0900)
We missed the final keyword for the Saver,
This inheritance is out of our policy.

It might be break apis but Saver class is just opened,
and we're pretty sure that there is no any extension of this.

I know this is the bad decision, but we have a chance yet,
so we must correct it before further late.

inc/thorvg.h

index bc9e05e..c899f1b 100644 (file)
@@ -1483,7 +1483,7 @@ public:
  *
  * @since 0.5
  */
-class TVG_EXPORT Saver
+class TVG_EXPORT Saver final
 {
 public:
     ~Saver();