diff --git a/source/detail/xlsx_consumer.cpp b/source/detail/xlsx_consumer.cpp index eca23783..2294cf8a 100644 --- a/source/detail/xlsx_consumer.cpp +++ b/source/detail/xlsx_consumer.cpp @@ -1036,16 +1036,13 @@ void xlsx_consumer::read_stylesheet(xml::parser &parser) struct formatting_record { - template - using togglable = std::pair; - - togglable alignment = { {}, 0 }; - togglable border_id = { 0, false }; - togglable fill_id = { 0, false }; - togglable font_id = { 0, false }; - togglable number_format_id = { 0, false }; - togglable protection = { {}, false }; - togglable style_id = { 0, false }; + std::pair alignment = { {}, 0 }; + std::pair border_id = { 0, false }; + std::pair fill_id = { 0, false }; + std::pair font_id = { 0, false }; + std::pair number_format_id = { 0, false }; + std::pair protection = { {}, false }; + std::pair style_id = { 0, false }; }; struct style_data