diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-04 18:18:37 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-04 18:19:37 +0200 |
commit | 94119478207034b767c1d0a4fa5d8950f7b07b02 (patch) | |
tree | ce9ffb57a4947855b09c54017f6b2abe3e8af6d3 /c/pl.h | |
parent | 1c218db34a3bd4aba5c1c088561b91b02e691fde (diff) | |
download | EpisodeBrowser-94119478207034b767c1d0a4fa5d8950f7b07b02.tar.gz |
Use C++ casts, nullptr.
Diffstat (limited to 'c/pl.h')
-rw-r--r-- | c/pl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |