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/configuration_client.cpp | |
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/configuration_client.cpp')
-rw-r--r-- | src/buildtool/serve_api/remote/configuration_client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <exception> @@ -113,3 +115,5 @@ auto ConfigurationClient::IsCompatible() const noexcept -> std::optional<bool> { } return response.compatible(); } + +#endif // BOOTSTRAP_BUILD_TOOL |