tvg format: code refactoring #4

Remove an unnecessary internal reference.
This commit is contained in:
Hermet Park 2021-07-20 13:33:44 +09:00
parent 2eb920beaf
commit 792b9db3fd
2 changed files with 1 additions and 6 deletions

View file

@ -30,7 +30,7 @@
/* External Class Implementation */ /* External Class Implementation */
/************************************************************************/ /************************************************************************/
Saver::Saver() : pImpl(new Impl(this)) Saver::Saver() : pImpl(new Impl())
{ {
} }

View file

@ -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();