[Bf-blender-cvs] [587ee46d884] master: Depsgraph: Expose set type available
Sergey Sharybin
noreply at git.blender.org
Tue Apr 30 11:32:10 CEST 2019
Commit: 587ee46d884c7508017de2635372ffac8ef638a5
Author: Sergey Sharybin
Date: Mon Apr 29 12:37:21 2019 +0200
Branches: master
https://developer.blender.org/rB587ee46d884c7508017de2635372ffac8ef638a5
Depsgraph: Expose set type available
Is way easier to use than a GSet and less proone for errors.
If we really want GSet to always be used, should make some C++
wrapper.
===================================================================
M source/blender/depsgraph/intern/depsgraph_type.h
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_type.h b/source/blender/depsgraph/intern/depsgraph_type.h
index 51ed31b8e25..cce64116907 100644
--- a/source/blender/depsgraph/intern/depsgraph_type.h
+++ b/source/blender/depsgraph/intern/depsgraph_type.h
@@ -37,6 +37,7 @@
#include <vector>
#include <algorithm>
#include <map>
+#include <set>
#include <unordered_map>
struct Depsgraph;
@@ -48,6 +49,7 @@ namespace DEG {
/* Commonly used types. */
using std::map;
using std::pair;
+using std::set;
using std::string;
using std::unordered_map;
using std::vector;
More information about the Bf-blender-cvs
mailing list