From 1b56fa20326b239c20b1ecbc50cb66d7b9f26750 Mon Sep 17 00:00:00 2001 From: leejet Date: Thu, 22 Jan 2026 23:38:07 +0800 Subject: [PATCH] remove unused methods --- examples/common/common.hpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/examples/common/common.hpp b/examples/common/common.hpp index dd8a226..e7b9c20 100644 --- a/examples/common/common.hpp +++ b/examples/common/common.hpp @@ -1705,18 +1705,6 @@ struct SDGenerationParams { } } - void set_width_if_unset(int w) { - if (width <= 0) { - width = w; - } - } - - void set_height_if_unset(int h) { - if (height <= 0) { - height = h; - } - } - bool width_and_height_are_set() const { return width > 0 && height > 0; }