aboutsummaryrefslogtreecommitdiffstats
path: root/src/model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/model.c')
-rw-r--r--src/model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model.c b/src/model.c
index fd1b0f92..fb0fd940 100644
--- a/src/model.c
+++ b/src/model.c
@@ -15,6 +15,7 @@
#include "serd/statement.h"
#include "serd/status.h"
#include "zix/allocator.h"
+#include "zix/attributes.h"
#include "zix/btree.h"
#include "zix/status.h"
@@ -386,7 +387,7 @@ simple_order(const SerdStatementOrder order)
}
/// Return the best index scanning strategy for a pattern with given nodes
-static ScanStrategy
+ZIX_PURE_FUNC static ScanStrategy
serd_model_strategy(const SerdModel* const model,
const bool with_s,
const bool with_p,