summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-03-23 20:22:56 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-03-23 20:22:56 +0200
commit507ea8e18e7b7960d91f88a87bcb9de4da806afe (patch)
tree8fc4e4d3ad7ee1f753f394dd6413cd9b72ef9956 /lib
parent44ba631a349fc7ab08bb066e1629c36b696ace59 (diff)
mu-sexp: don't require > c++17
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/mu-sexp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/mu-sexp.cc b/lib/utils/mu-sexp.cc
index 648e8ae..e11394f 100644
--- a/lib/utils/mu-sexp.cc
+++ b/lib/utils/mu-sexp.cc
@@ -335,8 +335,8 @@ Sexp::plistp(Sexp::const_iterator b, Sexp::const_iterator e) const
return false;
else
return b->symbolp() &&
- b->symbol().name.starts_with(':')
- && plistp(b + 2, e);
+ b->symbol().name[0] == ':' &&
+ plistp(b + 2, e);
}