summaryrefslogtreecommitdiff
path: root/src/Tangential_complex/benchmark/XML_exporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tangential_complex/benchmark/XML_exporter.h')
-rw-r--r--src/Tangential_complex/benchmark/XML_exporter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tangential_complex/benchmark/XML_exporter.h b/src/Tangential_complex/benchmark/XML_exporter.h
index 16b62eb6..38fe049f 100644
--- a/src/Tangential_complex/benchmark/XML_exporter.h
+++ b/src/Tangential_complex/benchmark/XML_exporter.h
@@ -157,7 +157,7 @@ class Streaming_XML_exporter {
m_xml_fstream << " </" << m_element_name << ">" << std::endl;
// Save current pointer position
- std::ofstream::streampos pos = m_xml_fstream.tellp();
+ auto pos = m_xml_fstream.tellp();
// Close the XML file (temporarily) so that the XML file is always correct
m_xml_fstream << "</" << m_list_name << ">" << std::endl;
// Restore the pointer position so that the next "add_element" will overwrite