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:
Diffstat (limited to 'intern/cycles/graph/node_enum.h')
-rw-r--r--intern/cycles/graph/node_enum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/graph/node_enum.h b/intern/cycles/graph/node_enum.h
index 9de776ddb55..705aec9a918 100644
--- a/intern/cycles/graph/node_enum.h
+++ b/intern/cycles/graph/node_enum.h
@@ -39,6 +39,9 @@ struct NodeEnum {
int operator[](ustring x) const { return left.find(x)->second; }
ustring operator[](int y) const { return right.find(y)->second; }
+ unordered_map<ustring, int, ustringHash>::const_iterator begin() const { return left.begin(); }
+ unordered_map<ustring, int, ustringHash>::const_iterator end() const { return left.end(); }
+
private:
unordered_map<ustring, int, ustringHash> left;
unordered_map<int, ustring> right;