]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxstring.C
another safety belt
[lyx.git] / src / support / lyxstring.C
index fbe70e23dce271f5c5cbdfe2ac6c278b3f614440..73f2f67ceb48cc057102cfd52d86f12d6c7033e0 100644 (file)
@@ -665,7 +665,7 @@ lyxstring::const_reference lyxstring::operator[](size_type pos) const
 #if 0
        // This is actually what the standard requires,
        lyx::Assert(pos <= rep->sz); // OURS!
-       static char helper = '\0';
+       static char const helper = '\0';
        return pos == rep->sz ? helper : rep->s[pos];
 #else
        // but we use this one since it is stricter