From 9d5047bb2b6d1756385fc4fabf2a3d54d9e9ac93 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 15 Jun 2022 14:51:03 +0200 Subject: Repository representation: also use string as name in bindings In this way, we keep the repsitory description more close to a normal multi-repository configuration. The only difference remaining is the absence of repository locations for git-tree roots. --- src/buildtool/common/repository_config.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/buildtool/common/repository_config.hpp') diff --git a/src/buildtool/common/repository_config.hpp b/src/buildtool/common/repository_config.hpp index 85a388fc..e1144789 100644 --- a/src/buildtool/common/repository_config.hpp +++ b/src/buildtool/common/repository_config.hpp @@ -176,8 +176,9 @@ class RepositoryConfig { [[nodiscard]] auto AddToGraphAndGetId( gsl::not_null const& graph, gsl::not_null const& id_counter, - gsl::not_null*> const& repo_ids, - std::string const& repo) const -> std::optional; + gsl::not_null*> const& + repo_ids, + std::string const& repo) const -> std::optional; }; #endif // INCLUDED_SRC_BUILDTOOL_COMMON_REPOSITORY_CONFIG_HPP -- cgit v1.2.3