@@ -443,25 +443,14 @@ namespace out {
443443 raise::Fatal (" Unknown write mode" , HERE);
444444 }
445445 CallOnce (
446- <<<<<<< HEAD
447- [](auto & main_path, auto & mode_path) {
448- const std::experimental::filesystem::path main { main_path };
449- const std::experimental::filesystem::path mode { mode_path };
450- if (!std::experimental::filesystem::exists (main_path)) {
451- std::experimental::filesystem::create_directory (main_path);
452- }
453- if (!std::experimental::filesystem::exists (main / mode)) {
454- std::experimental::filesystem::create_directory (main / mode);
455- =======
456446 [](auto && main_path, auto && mode_path) {
457447 const path_t main { main_path };
458448 const path_t mode { mode_path };
459- if (!std::filesystem::exists (main_path)) {
460- std::filesystem::create_directory (main_path);
449+ if (!std::experimental:: filesystem::exists (main_path)) {
450+ std::experimental:: filesystem::create_directory (main_path);
461451 }
462- if (!std::filesystem::exists (main_path / mode_path)) {
463- std::filesystem::create_directory (main_path / mode_path);
464- >>>>>>> 1.2 .0rc
452+ if (!std::experimental::filesystem::exists (main_path / mode_path)) {
453+ std::experimental::filesystem::create_directory (main_path / mode_path);
465454 }
466455 },
467456 m_root,
@@ -473,13 +462,8 @@ namespace out {
473462 fmt::format (" %s.%08lu.%s" , mode_str.c_str (), tstep, ext.c_str ());
474463 m_mode = adios2::Mode::Write;
475464 } else {
476- <<<<<<< HEAD
477- filename = fmt::format (" %s.%s" , m_fname.c_str (), ext.c_str ());
478- m_mode = std::experimental::filesystem::exists (filename) ? adios2::Mode::Append
479- =======
480465 filename = fmt::format (" %s.%s" , m_root.c_str (), ext.c_str ());
481- m_mode = std::filesystem::exists (filename) ? adios2::Mode::Append
482- >>>>>>> 1.2 .0rc
466+ m_mode = std::experimental::filesystem::exists (filename) ? adios2::Mode::Append
483467 : adios2::Mode::Write;
484468 }
485469 m_writer = m_io.Open (filename, m_mode);
0 commit comments