diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-14 16:15:05 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-03-24 09:14:22 +0100 |
commit | 6c009825cb320cc00531494985aa5fe7e0989971 (patch) | |
tree | da59ec4ea635e6460945c76c0f161f2f29214d0c /test/buildtool/execution_api/common | |
parent | bf185ababc1b97d2d2ab58de85449ffa7fd0b441 (diff) | |
download | justbuild-6c009825cb320cc00531494985aa5fe7e0989971.tar.gz |
TmpDir: minor refactoring
Diffstat (limited to 'test/buildtool/execution_api/common')
-rw-r--r-- | test/buildtool/execution_api/common/tree_rehashing.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/common/tree_rehashing.test.cpp b/test/buildtool/execution_api/common/tree_rehashing.test.cpp index 97b21f97..0049a7a0 100644 --- a/test/buildtool/execution_api/common/tree_rehashing.test.cpp +++ b/test/buildtool/execution_api/common/tree_rehashing.test.cpp @@ -43,7 +43,7 @@ #include "test/utils/large_objects/large_object_utils.hpp" namespace { -[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDirPtr>; +[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDir::Ptr>; /// \brief Deeply hash a local tree and add it to the storage. [[nodiscard]] auto StoreHashedTree(Storage const& storage, @@ -185,7 +185,7 @@ TEST_CASE("Rehash tree", "[common]") { } namespace { -[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDirPtr> { +[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDir::Ptr> { auto const test_dir = FileSystemManager::GetCurrentDirectory() / "tmp"; auto head_temp_directory = TmpDir::Create(test_dir / "head_dir"); auto const head_temp_dir_path = head_temp_directory->GetPath(); |