aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sfnt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt')
-rw-r--r--src/sfnt/SkOTTable_OS_2.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sfnt/SkOTTable_OS_2.h b/src/sfnt/SkOTTable_OS_2.h
index 4a09a78605..438257805c 100644
--- a/src/sfnt/SkOTTable_OS_2.h
+++ b/src/sfnt/SkOTTable_OS_2.h
@@ -18,11 +18,11 @@
#pragma pack(push, 1)
struct SkOTTableOS2 {
- static const SK_OT_CHAR TAG0 = 'O';
- static const SK_OT_CHAR TAG1 = 'S';
- static const SK_OT_CHAR TAG2 = '/';
- static const SK_OT_CHAR TAG3 = '2';
- static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableOS2>::value;
+ static constexpr SK_OT_CHAR TAG0 = 'O';
+ static constexpr SK_OT_CHAR TAG1 = 'S';
+ static constexpr SK_OT_CHAR TAG2 = '/';
+ static constexpr SK_OT_CHAR TAG3 = '2';
+ static constexpr SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableOS2>::value;
union Version {
SK_OT_USHORT version;