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-11-20 19:29:21 +0300
commit8e1d7d9e8c4983256b6b63f10175504f37eb6a5d (patch)
treeb17b1c68c6b7acf74a55e176d91e1715de7f2bd0
parentbaa79dc805001e5a24b62f379e8cbc4088691343 (diff)
BLI: add missing const
-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);
}