Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-11-20 19:29:21 +0300
committerJacques Lucke <jacques@blender.org>2020-12-02 17:38:47 +0300
commitddbe3274eff68523547bc8eb70dd95c3d411b89b (patch)
treefe391645ef107b36d8051ca7998179d8348c0f75 /source/blender/blenlib
parentd65628466a35682f6bb80def6835abee3766ff1b (diff)
BLI: add missing const
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_string_ref.hh2
1 files changed, 1 insertions, 1 deletions
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<size_t N> void copy(char (&dst)[N])
+ template<size_t N> void copy(char (&dst)[N]) const
{
this->copy(dst, N);
}