From 10d97aee7d2cdf4c5ea425491786fe9e59360299 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 16 Sep 2024 11:19:11 +0200 Subject: TreeReaderUtils: change InfoStoreFunc interface ...passing constructed Artifact::ObjectInfo by rvalue, to avoid additional copies. --- src/buildtool/execution_api/common/tree_reader_utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/common/tree_reader_utils.hpp') diff --git a/src/buildtool/execution_api/common/tree_reader_utils.hpp b/src/buildtool/execution_api/common/tree_reader_utils.hpp index ed151899..ab0aab5d 100644 --- a/src/buildtool/execution_api/common/tree_reader_utils.hpp +++ b/src/buildtool/execution_api/common/tree_reader_utils.hpp @@ -27,7 +27,7 @@ class TreeReaderUtils final { public: using InfoStoreFunc = std::function; + Artifact::ObjectInfo&&)>; /// \brief Read object infos from directory. /// \returns true on success. -- cgit v1.2.3