mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 11:00:19 +02:00
docs: Document that std::filesystem::temp_directory_path() is unsafe
This commit is contained in:
1 parent
d761fc44f4
commit
c3e8cd8d30
1 file changed
+3
@@ -79,6 +79,9 @@ Use `FHU::Filesystem::GetFilename` instead.
|
||||
#### std::filesystem::copy_file
|
||||
Use `FHU::Filesystem::CopyFile` instead.
|
||||
|
||||
#### std::filesystem::temp_directory_path
|
||||
See `GetTempFolder()` in `FEXServerClient.cpp` (split/move to `FHU::Filesystem` if needed by other users).
|
||||
|
||||
### `std::fstream`
|
||||
This API always allocates memory and should be avoided.
|
||||
Use a combination of open and fextl::string APIs instead of fstream.
|
||||
|
||||
Reference in new issue
Block a user