diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-03-05 19:31:40 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-03-05 19:32:01 +0300 |
commit | a874cfb8586042e746b201654af5e8f052a4c722 (patch) | |
tree | 2c54265876aab5ae1f9c88fc1f226ed66b948dd9 /source/blender/depsgraph/intern/depsgraph_type.h | |
parent | c43725e1891bd8534ac4b668277cddae9762d524 (diff) |
Cleanup: Move std::deque to depsgraph_type.h
Since `std::deque` is used in a few areas of the Depsgraph, and an
upcoming patch adds one more, it's time it's considered as "commonly
used type".
No functional changes.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_type.h')
-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 cce64116907..201d8b9a59e 100644 --- a/source/blender/depsgraph/intern/depsgraph_type.h +++ b/source/blender/depsgraph/intern/depsgraph_type.h @@ -34,6 +34,7 @@ /* TODO(sergey): Ideally we'll just use char* and statically allocated strings * to avoid any possible overhead caused by string (re)allocation/formatting. */ #include <string> +#include <deque> #include <vector> #include <algorithm> #include <map> @@ -47,6 +48,7 @@ struct CustomData_MeshMasks; namespace DEG { /* Commonly used types. */ +using std::deque; using std::map; using std::pair; using std::set; |