projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8b8e548
)
array_string: declare 'arr' member as const.
author
Davin McCall
<davmac@davmac.org>
Thu, 7 Jun 2018 22:17:11 +0000
(23:17 +0100)
committer
Davin McCall
<davmac@davmac.org>
Thu, 7 Jun 2018 22:17:11 +0000
(23:17 +0100)
src/includes/static-string.h
patch
|
blob
|
history
diff --git
a/src/includes/static-string.h
b/src/includes/static-string.h
index 71cce4caa23bae0387b74297f98e93538d40b426..3d42f2e10a63e330e9c1df3bcf3b9ca96b36e8f0 100644
(file)
--- a/
src/includes/static-string.h
+++ b/
src/includes/static-string.h
@@
-114,7
+114,7
@@
constexpr int static_length()
template <int N>
class array_string
{
- char arr[N+1];
+ c
onst c
har arr[N+1];
template <typename S1, typename S2, int... S> constexpr
array_string(const S1 &s1, const S2 &s2, const sequence<S...> seq)