From ddbe3274eff68523547bc8eb70dd95c3d411b89b Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 20 Nov 2020 17:29:21 +0100 Subject: [PATCH] BLI: add missing const --- source/blender/blenlib/BLI_string_ref.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenlib/BLI_string_ref.hh b/source/blender/blenlib/BLI_string_ref.hh index 8e3e3be99e2..8597e54d03b 100644 --- a/source/blender/blenlib/BLI_string_ref.hh +++ b/source/blender/blenlib/BLI_string_ref.hh @@ -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 void copy(char (&dst)[N]) + template void copy(char (&dst)[N]) const { this->copy(dst, N); }