diff --git a/src/calibre/srv/fast_css_transform.cpp b/src/calibre/srv/fast_css_transform.cpp index 97386ed44f..652bc1784c 100644 --- a/src/calibre/srv/fast_css_transform.cpp +++ b/src/calibre/srv/fast_css_transform.cpp @@ -181,7 +181,7 @@ enum class PropertyType : unsigned int { font_size, page_break, non_standard_writing_mode }; -constexpr const auto known_properties = frozen::make_unordered_map({ +constexpr static const auto known_properties = frozen::make_unordered_map({ {"font-size", PropertyType::font_size}, {"font", PropertyType::font_size}, @@ -193,7 +193,7 @@ constexpr const auto known_properties = frozen::make_unordered_map({ +constexpr static const auto font_size_keywords = frozen::make_unordered_map({ {"xx-small", "0.5rem"}, {"x-small", "0.625rem"}, {"small", "0.8rem"}, @@ -204,7 +204,7 @@ constexpr const auto font_size_keywords = frozen::make_unordered_map({ +constexpr static const auto absolute_length_units = frozen::make_unordered_map({ {"mm", 2.8346456693}, {"cm", 28.346456693}, {"in", 72},