aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/pl.h b/c/pl.h
index b0cdbbd..2992e86 100644
--- a/c/pl.h
+++ b/c/pl.h
@@ -102,7 +102,7 @@ int Pl(const char* const mod, const char* const pred, T... xs)
const term_t t = PL_new_term_refs(sizeof...(T));
if (!PlPutN(t, xs...)) return 0;
- Query q(NULL, PL_predicate(pred, sizeof...(T), mod), t);
+ Query q(nullptr, PL_predicate(pred, sizeof...(T), mod), t);
if constexpr (Except) {
if (!q.NextSolution()) return 0;