From a8fc6fc51c6c9ef90ae1480f0ff4448d69b0e235 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 29 Apr 2024 12:27:59 +0200 Subject: Small changes to allow gsl-lite support The gsl-lite implementation is slightly more picky in terms of type conversions and constness resolution in initializers, therefore small changes were needed. --- src/buildtool/main/install_cas.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/main/install_cas.cpp') diff --git a/src/buildtool/main/install_cas.cpp b/src/buildtool/main/install_cas.cpp index e6bb9128..e5c2a2a0 100644 --- a/src/buildtool/main/install_cas.cpp +++ b/src/buildtool/main/install_cas.cpp @@ -125,7 +125,8 @@ auto FetchAndInstallArtifacts( } if (out) { - if (not api->RetrieveToPaths({object_info}, {*out}, alternative_api)) { + if (not api->RetrieveToPaths( + {object_info}, {*out}, &(*alternative_api))) { Logger::Log(LogLevel::Error, "failed to retrieve artifact."); return false; } -- cgit v1.2.3