mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
tvg format: code refactoring #4
Remove an unnecessary internal reference.
This commit is contained in:
parent
2eb920beaf
commit
792b9db3fd
2 changed files with 1 additions and 6 deletions
|
@ -30,7 +30,7 @@
|
|||
/* External Class Implementation */
|
||||
/************************************************************************/
|
||||
|
||||
Saver::Saver() : pImpl(new Impl(this))
|
||||
Saver::Saver() : pImpl(new Impl())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -30,14 +30,9 @@
|
|||
|
||||
struct Saver::Impl
|
||||
{
|
||||
Saver* saver;
|
||||
Paint* paint = nullptr; //TODO: replace with Array
|
||||
Array<char> buffer;
|
||||
|
||||
Impl(Saver* s) : saver(s)
|
||||
{
|
||||
}
|
||||
|
||||
~Impl()
|
||||
{
|
||||
sync();
|
||||
|
|
Loading…
Add table
Reference in a new issue