Browse Source

Qualify temporary file names

default_compile_flags
vector-of-bool 5 years ago
parent
commit
cad790c8b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/temp.win.cpp

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

std::string uuid_std_str(reinterpret_cast<const char*>(uuid_str)); std::string uuid_std_str(reinterpret_cast<const char*>(uuid_str));
::RpcStringFree(&uuid_str); ::RpcStringFree(&uuid_str);


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

Loading…
Cancel
Save