aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-24 01:04:12 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-24 01:04:12 +0200
commit86fe7782668c2e1ad359cafb98d72ecfd88b1ed8 (patch)
tree6af7a0a05bfd27dffe2bd4406b7f8911234defe2 /c/pl.h
parent6807e951ae8faf7c3ba4c9b0b819864f35cb1ec5 (diff)
downloadEpisodeBrowser-86fe7782668c2e1ad359cafb98d72ecfd88b1ed8.tar.gz
Add const.
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 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;
}
}