Default the moves and delete the copies for TempFile, matching TempDir
and TempLink, and add tests for all of them to confirm that the
destructor is not harmful after it has been moved from.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Fix unit test; noticed by inspection that the call to TempLink's constructor wasn't using D.path(), so this was dropping a symlink wherever the CWD of the test was.
Comment Actions
Thanks! Pushed as 15ab7bc3af3c9f38b3404599d76e4ec3727a0f76 after:
- fixing clang-format
- looking at failing bots for Linux (lots of failing tests that look related to OpenMP, so I've ignored...)
clang-format: please reformat the code