From 94119478207034b767c1d0a4fa5d8950f7b07b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 4 Aug 2022 18:18:37 +0200 Subject: Use C++ casts, nullptr. --- c/pl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/pl.h') 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; -- cgit v1.2.3