Skip to content

Commit b018a48

Browse files
committed
Build fix
Signed-off-by: Darby Johnston <[email protected]>
1 parent bfb1746 commit b018a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opentimelineio/fileUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ std::string create_temp_dir()
2727
std::string out;
2828
#if defined(_WINDOWS)
2929
// \todo Replace std::tmpnam() since it is potentially unsafe.
30-
std::string const out(std::tmpnam(nullptr));
30+
out = std::tmpnam(nullptr);
3131
std::filesystem::create_directory(out);
3232
#else // _WINDOWS
3333
std::string dir = std::filesystem::temp_directory_path() / "XXXXXX";

0 commit comments

Comments
 (0)