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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-05-19 07:32:51 +0300
committerCampbell Barton <campbell@blender.org>2022-05-19 07:32:51 +0300
commitae11233b65778c653c2214a605e60f9d3302e318 (patch)
tree8b7b35cc0c7e848109862766de29caa0ade8d217 /intern
parent41feaa17f3b1db488027d9754c02eda8a375f980 (diff)
parent214e61fc2ca17affc971d7f7838a748ea8e93b4a (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/graph/node_enum.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/cycles/graph/node_enum.h b/intern/cycles/graph/node_enum.h
index b3a55efb327..6c8bfed7ec8 100644
--- a/intern/cycles/graph/node_enum.h
+++ b/intern/cycles/graph/node_enum.h
@@ -19,8 +19,10 @@ struct NodeEnum {
}
void insert(const char *x, int y)
{
- left[ustring(x)] = y;
- right[y] = ustring(x);
+ ustring ustr_x(x);
+
+ left[ustr_x] = y;
+ right[y] = ustr_x;
}
bool exists(ustring x) const