diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-12 10:32:43 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-13 14:41:00 +0200 |
commit | fea1ff32426656e89aea9fd36dc9031367c29184 (patch) | |
tree | 7d42b15ae7db632814bc165a0e822fc84ef6e206 /src/buildtool/execution_api/utils/subobject.hpp | |
parent | 0e472f5cfbcfde7edb968ae39daa935dee9bb27b (diff) | |
download | justbuild-fea1ff32426656e89aea9fd36dc9031367c29184.tar.gz |
Pass ApiBundle to RetrieveSubPathId
...to get access to the protocol type.
Diffstat (limited to 'src/buildtool/execution_api/utils/subobject.hpp')
-rw-r--r-- | src/buildtool/execution_api/utils/subobject.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/execution_api/utils/subobject.hpp b/src/buildtool/execution_api/utils/subobject.hpp index c5cee935..e2a8f46b 100644 --- a/src/buildtool/execution_api/utils/subobject.hpp +++ b/src/buildtool/execution_api/utils/subobject.hpp @@ -21,13 +21,13 @@ #include <optional> #include "src/buildtool/common/artifact.hpp" -#include "src/buildtool/execution_api/common/execution_api.hpp" +#include "src/buildtool/execution_api/common/api_bundle.hpp" auto RetrieveSubPathId(Artifact::ObjectInfo object_info, - IExecutionApi const& api, + ApiBundle const& apis, const std::filesystem::path& sub_path) -> std::optional<Artifact::ObjectInfo>; -#endif +#endif // BOOTSTRAP_BUILD_TOOL -#endif +#endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_UTILS_SUBOBJECT_HPP |