From ed763a5b184ce26111190e668815ae63d367b3d8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 14 Sep 2019 10:45:49 -0400 Subject: [PATCH] FontCache: Specify athena endian types explicitly Allows this code to remain compilable if the enum is ever converted into a strongly-typed enum. --- specter/include/specter/FontCache.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specter/include/specter/FontCache.hpp b/specter/include/specter/FontCache.hpp index 88155ca00..27be3d17a 100644 --- a/specter/include/specter/FontCache.hpp +++ b/specter/include/specter/FontCache.hpp @@ -98,13 +98,13 @@ private: std::vector m_glyphs; std::unordered_map>> m_kernAdjs; - struct TT_KernHead : athena::io::DNA { + struct TT_KernHead : athena::io::DNA { AT_DECL_DNA Value length; Value coverage; }; - struct TT_KernSubHead : athena::io::DNA { + struct TT_KernSubHead : athena::io::DNA { AT_DECL_DNA Value nPairs; Value searchRange; @@ -112,7 +112,7 @@ private: Value rangeShift; }; - struct TT_KernPair : athena::io::DNA { + struct TT_KernPair : athena::io::DNA { AT_DECL_DNA Value left; Value right;