diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-14 10:23:41 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-18 12:05:10 +0200 |
commit | 26fdbae5f7269c06f95d3d087e657bb192b909d1 (patch) | |
tree | 37934b42e041106043cbf7eeee7617b63e00c367 /src/buildtool/serve_api/remote/serve_api.hpp | |
parent | cd65196eec5d59498b239834c1069782879a1416 (diff) | |
download | justbuild-26fdbae5f7269c06f95d3d087e657bb192b909d1.tar.gz |
Use ServeApi during bootstrap
...with a default implementation.
Although it is not used directly, it will be needed for instantiation of std::optional.
Diffstat (limited to 'src/buildtool/serve_api/remote/serve_api.hpp')
-rw-r--r-- | src/buildtool/serve_api/remote/serve_api.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <memory> #include <optional> #include <string> @@ -141,4 +145,6 @@ class ServeApi final { ConfigurationClient const cc_; }; +#endif // BOOTSTRAP_BUILD_TOOL + #endif // INCLUDED_SRC_BUILDTOOL_SERVE_API_REMOTE_SERVE_API_HPP |