diff --git a/source/detail/serialization/xlsx_producer.cpp b/source/detail/serialization/xlsx_producer.cpp index a7e6e905..1c1c1626 100644 --- a/source/detail/serialization/xlsx_producer.cpp +++ b/source/detail/serialization/xlsx_producer.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -167,7 +168,7 @@ void xlsx_producer::write_content_types() const auto content_types_path = path("[Content_Types].xml"); begin_part(content_types_path); - const auto xmlns = "http://schemas.openxmlformats.org/package/2006/content-types"s; + const auto xmlns = "http://schemas.openxmlformats.org/package/2006/content-types"; write_start_element(xmlns, "Types"); write_namespace(xmlns, ""); @@ -286,7 +287,7 @@ void xlsx_producer::write_property(const std::string &name, const variant &value write_start_element(constants::ns("vt"), "vector"); auto vector = value.get>(); - std::unordered_set types; + std::unordered_set> types; for (const auto &element : vector) {