[ET Trac] #2941: CCE_Export uses `setiosflags` unqualified without an explicit using-declaration

Maxwell Rizzo trac-noreply at einsteintoolkit.org
Tue May 12 18:20:32 CDT 2026


#2941: CCE_Export uses `setiosflags` unqualified without an explicit using-declaration

 Reporter: Maxwell Rizzo
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: minor
Component: EinsteinToolkit thorn

In line 169-170 of `h5_export.cc`

```cpp
  basename << base_file_name << "R" << setiosflags(ios::fixed) << setprecision(2)
           << rad << "." << extension;
```

and the only using statement on line 13

```cpp

using std::string, std::ostringstream, std::map, std::ios, std::setprecision;

```

`std::setiosflags` is missing from the using-declaration if will be used unqualified.

Corresponding [PR](https://github.com/deborahferguson/CCE_Export/pull/17)

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2941/cce_export-uses-setiosflags-unqualified
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20260512/5ed9b8ab/attachment.htm>


More information about the Trac mailing list