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/configuration_client.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/serve_api/remote/configuration_client.cpp') diff --git a/src/buildtool/serve_api/remote/configuration_client.cpp b/src/buildtool/serve_api/remote/configuration_client.cpp index 6e6a5378..7f7bb535 100644 --- a/src/buildtool/serve_api/remote/configuration_client.cpp +++ b/src/buildtool/serve_api/remote/configuration_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/configuration_client.hpp" #include @@ -113,3 +115,5 @@ auto ConfigurationClient::IsCompatible() const noexcept -> std::optional { } return response.compatible(); } + +#endif // BOOTSTRAP_BUILD_TOOL -- cgit v1.2.3