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/serve_service/configuration.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/serve_api/serve_service/configuration.cpp') diff --git a/src/buildtool/serve_api/serve_service/configuration.cpp b/src/buildtool/serve_api/serve_service/configuration.cpp index af939eee..4a38cc83 100644 --- a/src/buildtool/serve_api/serve_service/configuration.cpp +++ b/src/buildtool/serve_api/serve_service/configuration.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/serve_service/configuration.hpp" #include @@ -37,3 +39,5 @@ auto ConfigurationService::Compatibility( response->set_compatible(Compatibility::IsCompatible()); return ::grpc::Status::OK; } + +#endif // BOOTSTRAP_BUILD_TOOL -- cgit v1.2.3