From 86fe7782668c2e1ad359cafb98d72ecfd88b1ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 24 Jul 2022 01:04:12 +0200 Subject: Add const. --- 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 44b8a5e..d1c01c4 100644 --- a/c/pl.h +++ b/c/pl.h @@ -111,7 +111,7 @@ int Pl(const char* const szMod, const char* const szPred, T... xs) { try { return Plx(szMod, szPred, xs...); - } catch (term_t& t) { + } catch (const term_t& t) { return 0; } } -- cgit v1.2.3