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/other_tools/root_maps/content_git_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/root_maps/content_git_map.cpp') diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp index c0c06513..cccab118 100644 --- a/src/other_tools/root_maps/content_git_map.cpp +++ b/src/other_tools/root_maps/content_git_map.cpp @@ -120,7 +120,7 @@ void EnsureRootAsAbsent( if (not EnsureAbsentRootOnServe( tree_id, StorageConfig::GitRoot(), - *remote_api, + &(*remote_api.value()), logger, /*no_sync_is_fatal=*/true)) { return; @@ -144,7 +144,7 @@ void EnsureRootAsAbsent( // root if (not EnsureAbsentRootOnServe(tree_id, StorageConfig::GitRoot(), - *remote_api, + &(*remote_api.value()), logger, /*no_sync_is_fatal=*/true)) { return; -- cgit v1.2.3