From 367078178f2cdfb3f21eeae00bd0ef3a946a7a2d Mon Sep 17 00:00:00 2001 From: Aaron Webster Date: Wed, 16 Sep 2020 18:14:09 -0700 Subject: [PATCH] Change BlockType from struct to class Fixes the -Wmismatched-tags compilation warning. --- src/Resource/BlockType.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resource/BlockType.hpp b/src/Resource/BlockType.hpp index 24a46c3..a551830 100644 --- a/src/Resource/BlockType.hpp +++ b/src/Resource/BlockType.hpp @@ -40,7 +40,7 @@ namespace Resource { #define BLOCK_SPRUCE (1u << 4) #define BLOCK_WATER (1u << 5) -struct BlockType { +class BlockType { private: static const std::unordered_map Types;