diff options
author | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-09-14 10:30:19 +0200 |
---|---|---|
committer | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-09-14 10:30:19 +0200 |
commit | eee4180428d97ffef99e86123134835682181594 (patch) | |
tree | d3fca61c0204bbc5b0d137df0a4c519a33390e71 /src/Tangential_complex/benchmark | |
parent | 96f1dc0310d146e2bc368624683f46f1ca9a5116 (diff) |
std::ofstream::streampos is deprecated with c++17
Diffstat (limited to 'src/Tangential_complex/benchmark')
-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 |