Make SdCardFont explicitly non-copyable and non-movable

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
jpirnay
2026-04-28 18:41:48 +02:00
co-authored by Copilot
parent 1f10e91c23
commit ebb80bf4d9
+4
View File
@@ -12,6 +12,10 @@ class SdCardFont {
static constexpr uint8_t MAX_STYLES = 4;
SdCardFont() = default;
SdCardFont(const SdCardFont&) = delete;
SdCardFont& operator=(const SdCardFont&) = delete;
SdCardFont(SdCardFont&&) = delete;
SdCardFont& operator=(SdCardFont&&) = delete;
~SdCardFont();
// Load .cpfont file: reads header + intervals into RAM, records file layout offsets.