summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/common/tree_rehashing.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-02-14 16:15:05 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-03-24 09:14:22 +0100
commit6c009825cb320cc00531494985aa5fe7e0989971 (patch)
treeda59ec4ea635e6460945c76c0f161f2f29214d0c /test/buildtool/execution_api/common/tree_rehashing.test.cpp
parentbf185ababc1b97d2d2ab58de85449ffa7fd0b441 (diff)
downloadjustbuild-6c009825cb320cc00531494985aa5fe7e0989971.tar.gz
TmpDir: minor refactoring
Diffstat (limited to 'test/buildtool/execution_api/common/tree_rehashing.test.cpp')
-rw-r--r--test/buildtool/execution_api/common/tree_rehashing.test.cpp4
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();