diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-10-18 10:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 10:23:48 +0200 |
commit | 9d38d47755a47d4e8bcf20833e609544fd406458 (patch) | |
tree | 5edfbfda74be3c4b7cc944c3daf6d71532f45507 /src/Tangential_complex/benchmark/XML_exporter.h | |
parent | 524718d63a8f633dbcc4fe7db3fe920ebd7e972c (diff) | |
parent | fd66e103bd7f6fba20f0eb915294dacb15807747 (diff) |
Merge pull request #697 from VincentRouvreau/feature/cpp17
c++17 as a new standard to compile the library
Diffstat (limited to 'src/Tangential_complex/benchmark/XML_exporter.h')
-rw-r--r-- | src/Tangential_complex/benchmark/XML_exporter.h | 2 |
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 |