Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
realHannes committed Jun 13, 2024
1 parent de051df commit 91fbe07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ OptIri makeDatatypeValueGetter::operator()(
case Datatype::VocabIndex: {
const auto& idx = context->_qec.getIndex();
entity = idx.idToOptionalString(id.getVocabIndex());

Check warning on line 218 in src/engine/sparqlExpressions/SparqlExpressionValueGetters.cpp

View check run for this annotation

Codecov / codecov/patch

src/engine/sparqlExpressions/SparqlExpressionValueGetters.cpp#L217-L218

Added lines #L217 - L218 were not covered by tests
if (entity.has_value()) {
if (!entity.has_value()) {
return std::nullopt;
}
return iriFromLiteral(entity.value());
Expand Down

0 comments on commit 91fbe07

Please sign in to comment.