From 0b542125a52f7b0beedb911cdc2a34bf9b643101 Mon Sep 17 00:00:00 2001 From: nmlgc Date: Sun, 22 Sep 2019 11:20:28 +0200 Subject: [PATCH] [Decompilation] [th04/th05] Remove the Subpixel constructors They just create unnecessary code when passing Subpixels by value to functions. Part of P0034, funded by zorg. --- th04/shared.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/th04/shared.hpp b/th04/shared.hpp index b668993c..849717ed 100644 --- a/th04/shared.hpp +++ b/th04/shared.hpp @@ -10,8 +10,6 @@ private: int v; public: - Subpixel() {} - Subpixel(float screen_v) { *this = screen_v; } Subpixel& operator =(float screen_v) { v = static_cast(screen_v * 16.0f);