From 8e6d71bd5480f1b933c27188582839c7e8ea0982 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Fri, 15 Jun 2018 15:34:03 -0700 Subject: [PATCH] Don't use fancy enum features --- src/tag.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tag.h b/src/tag.h index c4f48fb..e367529 100644 --- a/src/tag.h +++ b/src/tag.h @@ -4,7 +4,7 @@ using std::string; using std::unordered_map; -enum TagType : char { +enum TagType { AREA, BASE, BASEFONT, @@ -307,7 +307,7 @@ struct Tag { bool operator==(const Tag &other) const { if (type != other.type) return false; - if (type == TagType::CUSTOM && custom_tag_name != other.custom_tag_name) return false; + if (type == CUSTOM && custom_tag_name != other.custom_tag_name) return false; return true; }