Remove const qualifier.
It doesn't do much useful, and it seems to cause Windows building to fail.
This commit is contained in:
parent
3449a39154
commit
6fa9373f25
|
@ -290,7 +290,7 @@ void docpp::HTML::Section::set(const std::string& tag, const Properties& propert
|
|||
}
|
||||
|
||||
std::pair<std::string, docpp::HTML::Type> docpp::HTML::resolve_tag(const Tag tag) {
|
||||
static const std::unordered_map<const Tag, const std::pair<const std::string, const docpp::HTML::Type>> tag_map{
|
||||
static const std::unordered_map<Tag, std::pair<std::string, docpp::HTML::Type>> tag_map{
|
||||
{ELEMENT_EMPTY, {"", docpp::HTML::TYPE_NON_SELF_CLOSING}},
|
||||
{ELEMENT_ABBREVIATION, {"abbr", docpp::HTML::TYPE_NON_SELF_CLOSING}},
|
||||
{ELEMENT_ABBR, {"abbr", docpp::HTML::TYPE_NON_SELF_CLOSING}},
|
||||
|
|
Loading…
Reference in a new issue