Skip to content
Snippets Groups Projects
Commit 76712ba5 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

removed name collision for enum member FILE, renamed to FILEIO

parent 641538ee
No related branches found
No related tags found
1 merge request!289M300433/python interaface integration 1
......@@ -327,7 +327,7 @@ Process::open_write(const std::string &p_filename, int filetype)
{
if (filetype == CDI_UNDEFID) filetype = cdo_filetype();
if (write_mode == ProcessWriteMode::FILE) { add_file_out_stream(p_filename); }
if (write_mode == ProcessWriteMode::FILEIO) { add_file_out_stream(p_filename); }
else if (write_mode == ProcessWriteMode::MEMORY)
{
auto [fid, sid] = create_output();
......
......@@ -30,7 +30,7 @@ enum class ProcessStatus
};
enum class ProcessWriteMode
{
FILE = 0,
FILEIO = 0,
MEMORY = 1
};
......@@ -44,7 +44,7 @@ private:
public:
/* Member Variables */
ProcessWriteMode write_mode = ProcessWriteMode::FILE;
ProcessWriteMode write_mode = ProcessWriteMode::FILEIO;
int m_ID;
const CdoModule &m_module;
int m_posInParent;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment