Commit graph

4 commits

Author SHA1 Message Date
Philip Chimento
9f982e5c95 Mark strings as const when they underlie streams
In the family of functions that create a text stream from a string (e.g.,
Streams::open_from_ISO_string, Str::new_from_ISO_string) we can mark the
input string as const since it is not supposed to be modified.

I ran into this when experimenting with trying to create a text stream
from the output of "getenv" which is "const char *". I ended up not
needing that, but this seems like a good change nonetheless.
2022-04-13 22:51:33 -07:00
Graham Nelson
09ed827b30 Migrated to clang 11 2020-06-27 23:03:14 +01:00
Graham Nelson
f2a1c0019e Clarified indexing engine 2020-04-13 23:30:42 +01:00
Graham Nelson
d57a1dc13f Initial commit 2019-02-04 22:26:45 +00:00