diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-29 13:37:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-30 12:32:02 +0300 |
commit | 587ee46d884c7508017de2635372ffac8ef638a5 (patch) | |
tree | eb93c6541ac350ff6096a6b382785311168b071e /source/blender/depsgraph | |
parent | 4d889897bae2b47b330913da0170e089df9a8130 (diff) |
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.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |