From 412d3fb1dca2255b53f5fad83d38b4cb06af2972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 18:18:03 +0200 Subject: Fix HasVersion. --- c/data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c') diff --git a/c/data.h b/c/data.h index 51132f6..7e86955 100644 --- a/c/data.h +++ b/c/data.h @@ -58,11 +58,11 @@ struct CfgA template constexpr inline unsigned char Version = T{}.version; -template +template constexpr inline bool HasVersion = false; template -constexpr inline bool HasVersion> = true; +constexpr inline bool HasVersion = true; /* FileView objects manage a memory-mapped file. The view buffer may * be treated as an array of a given type T. Note that reading and -- cgit v1.2.3