From 3df442e8e98059c9abf4686dde28d70fa192256a Mon Sep 17 00:00:00 2001 From: lqdev Date: Thu, 20 Jun 2024 22:31:30 +0200 Subject: [PATCH] fix --- content/treehouse/new.tree | 1 + 1 file changed, 1 insertion(+) diff --git a/content/treehouse/new.tree b/content/treehouse/new.tree index 90a3534..9ef4c9b 100644 --- a/content/treehouse/new.tree +++ b/content/treehouse/new.tree @@ -10,6 +10,7 @@ [read][page:programming/blog/tairu] +% id = "01J0VNHPTRNC1HFXAQ790Y1EZB" - a friend of mine asked if it makes sense to define your own wrapper class for `SDL_Window` the way [Lazy Foo](https://lazyfoo.net/tutorials/SDL/10_color_keying/index.php) does it. I told him there's no reason to do that in modern C++, because `std::unique_ptr` can do everything for you anyways.