summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/target_cache_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/storage/target_cache_entry.cpp')
-rw-r--r--src/buildtool/storage/target_cache_entry.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/storage/target_cache_entry.cpp b/src/buildtool/storage/target_cache_entry.cpp
index 683b2f02..6e1f3187 100644
--- a/src/buildtool/storage/target_cache_entry.cpp
+++ b/src/buildtool/storage/target_cache_entry.cpp
@@ -20,6 +20,7 @@
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
+#include "src/utils/cpp/gsl.hpp"
auto TargetCacheEntry::FromTarget(
AnalysedTargetPtr const& target,
@@ -48,9 +49,9 @@ auto TargetCacheEntry::ToResult() const noexcept
auto const& desc = ArtifactDescription::FromJson(json);
// The assumption is that all artifacts mentioned in a target cache
// entry are KNOWN to the remote side.
- gsl_ExpectsAudit(desc and desc->IsKnown());
+ ExpectsAudit(desc and desc->IsKnown());
auto const& info = desc->ToArtifact().Info();
- gsl_ExpectsAudit(info);
+ ExpectsAudit(info);
return *info;
}