Sfoglia il codice sorgente

Qualify temporary file names

default_compile_flags
vector-of-bool 5 anni fa
parent
commit
cad790c8b7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/dds/temp.win.cpp

+ 1
- 1
src/dds/temp.win.cpp Vedi File

@@ -22,7 +22,7 @@ temporary_dir temporary_dir::create() {
std::string uuid_std_str(reinterpret_cast<const char*>(uuid_str));
::RpcStringFree(&uuid_str);

auto new_dir = base / uuid_std_str;
auto new_dir = base / ("dds-" + uuid_std_str);
std::error_code ec;
fs::create_directory(new_dir);
return std::make_shared<impl>(std::move(new_dir));

Loading…
Annulla
Salva