From 26fdbae5f7269c06f95d3d087e657bb192b909d1 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 14 Jun 2024 10:23:41 +0200 Subject: Use ServeApi during bootstrap ...with a default implementation. Although it is not used directly, it will be needed for instantiation of std::optional. --- src/buildtool/serve_api/remote/source_tree_client.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/serve_api/remote/source_tree_client.cpp') diff --git a/src/buildtool/serve_api/remote/source_tree_client.cpp b/src/buildtool/serve_api/remote/source_tree_client.cpp index 2d011cab..7a51dd44 100644 --- a/src/buildtool/serve_api/remote/source_tree_client.cpp +++ b/src/buildtool/serve_api/remote/source_tree_client.cpp @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef BOOTSTRAP_BUILD_TOOL + #include "src/buildtool/serve_api/remote/source_tree_client.hpp" #include "src/buildtool/common/remote/client_common.hpp" @@ -285,3 +287,5 @@ auto SourceTreeClient::GetRemoteTree(std::string const& tree_id) const noexcept // success! return true; } + +#endif // BOOTSTRAP_BUILD_TOOL -- cgit v1.2.3