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/serve_api.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/buildtool/serve_api/remote/serve_api.hpp') diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index a97b0bed..60de4d91 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -15,6 +15,10 @@ #ifndef INCLUDED_SRC_BUILDTOOL_SERVE_API_REMOTE_SERVE_API_HPP #define INCLUDED_SRC_BUILDTOOL_SERVE_API_REMOTE_SERVE_API_HPP +#ifdef BOOTSTRAP_BUILD_TOOL +class ServeApi final {}; +#else + #include #include #include @@ -141,4 +145,6 @@ class ServeApi final { ConfigurationClient const cc_; }; +#endif // BOOTSTRAP_BUILD_TOOL + #endif // INCLUDED_SRC_BUILDTOOL_SERVE_API_REMOTE_SERVE_API_HPP -- cgit v1.2.3