mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +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 */
|
/* External Class Implementation */
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
Saver::Saver() : pImpl(new Impl(this))
|
Saver::Saver() : pImpl(new Impl())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,14 +30,9 @@
|
||||||
|
|
||||||
struct Saver::Impl
|
struct Saver::Impl
|
||||||
{
|
{
|
||||||
Saver* saver;
|
|
||||||
Paint* paint = nullptr; //TODO: replace with Array
|
Paint* paint = nullptr; //TODO: replace with Array
|
||||||
Array<char> buffer;
|
Array<char> buffer;
|
||||||
|
|
||||||
Impl(Saver* s) : saver(s)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
~Impl()
|
~Impl()
|
||||||
{
|
{
|
||||||
sync();
|
sync();
|
||||||
|
|
Loading…
Add table
Reference in a new issue