diff --git a/source/detail/xlsx_consumer.cpp b/source/detail/xlsx_consumer.cpp index 9694f06d..3ba8f584 100644 --- a/source/detail/xlsx_consumer.cpp +++ b/source/detail/xlsx_consumer.cpp @@ -1470,7 +1470,7 @@ void xlsx_consumer::read_stylesheet() } else if (current_style_element == xml::qname(xmlns, "tableStyles")) { - skip_attributes({"defaultTableStyle", "defaultPivotStyle"}); + skip_attributes(std::vector{"defaultTableStyle", "defaultPivotStyle"}); auto count = parser().attribute("count"); std::size_t processed = 0;