From 84ae9df665b8a8d540a461899d591ada995c485c Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Sun, 6 Feb 2022 17:32:44 +0000 Subject: [PATCH] fix: explicit specialization requires 'template <>' --- Src/Util/BMPFile.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Src/Util/BMPFile.h b/Src/Util/BMPFile.h index 65f4caf..049ab54 100644 --- a/Src/Util/BMPFile.h +++ b/Src/Util/BMPFile.h @@ -159,8 +159,8 @@ namespace Util } }; - using T1RGB5ContourEnabled = struct T1RGB5; - using T1RGB5ContourIgnored = struct T1RGB5; +using T1RGB5ContourEnabled = T1RGB5; +using T1RGB5ContourIgnored = T1RGB5; // Texture format 1: xxxx xxxx AAAA LLLL struct A4L4Low @@ -345,10 +345,10 @@ namespace Util } }; - using L4Channel0 = struct L4<0>; - using L4Channel1 = struct L4<1>; - using L4Channel2 = struct L4<2>; - using L4Channel3 = struct L4<3>; + using L4Channel0 = L4<0>; + using L4Channel1 = L4<1>; + using L4Channel2 = L4<2>; + using L4Channel3 = L4<3>; template static bool WriteSurfaceToBMP(const std::string &file_name, const uint8_t *pixels, int32_t width, int32_t height, bool flip_vertical)