BLI: add missing const

This commit is contained in:
Jacques Lucke 2020-11-20 17:29:21 +01:00
parent d65628466a
commit ddbe3274ef
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class StringRefBase {
* Copy the string into a char array. The copied string will be null-terminated. This invokes
* undefined behavior when dst is too small.
*/
template<size_t N> void copy(char (&dst)[N])
template<size_t N> void copy(char (&dst)[N]) const
{
this->copy(dst, N);
}