diff options
author | Jacques Lucke <jacques@blender.org> | 2020-11-20 19:29:21 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-02 17:38:47 +0300 |
commit | ddbe3274eff68523547bc8eb70dd95c3d411b89b (patch) | |
tree | fe391645ef107b36d8051ca7998179d8348c0f75 /source/blender/blenlib/BLI_string_ref.hh | |
parent | d65628466a35682f6bb80def6835abee3766ff1b (diff) |
BLI: add missing const
Diffstat (limited to 'source/blender/blenlib/BLI_string_ref.hh')
-rw-r--r-- | source/blender/blenlib/BLI_string_ref.hh | 2 |
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); } |