We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb1746 commit b018a48Copy full SHA for b018a48
src/opentimelineio/fileUtils.cpp
@@ -27,7 +27,7 @@ std::string create_temp_dir()
27
std::string out;
28
#if defined(_WINDOWS)
29
// \todo Replace std::tmpnam() since it is potentially unsafe.
30
- std::string const out(std::tmpnam(nullptr));
+ out = std::tmpnam(nullptr);
31
std::filesystem::create_directory(out);
32
#else // _WINDOWS
33
std::string dir = std::filesystem::temp_directory_path() / "XXXXXX";
0 commit comments