diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-04 15:39:53 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-04 15:40:15 +0300 |
commit | 675fa2ee132528a9d2872b278a7d9ffa98887fdb (patch) | |
tree | 78e6e406a0bea5a1ee02c9ef86daaecd168a1689 /source/blender/depsgraph | |
parent | 7fbbe719226cec2f5eec98bea69b5a4807df550b (diff) |
Refactor: rename SpaceType->new to SpaceType->create
The data member `new` was conflicting with the `new` keyword
when `BKE_screen.h` was included in C++ files.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D8459
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 1863a333930..1d8fba21857 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -48,11 +48,8 @@ #include "BKE_idtype.h" #include "BKE_node.h" #include "BKE_scene.h" -#include "BKE_workspace.h" - -#define new new_ #include "BKE_screen.h" -#undef new +#include "BKE_workspace.h" #include "DEG_depsgraph.h" #include "DEG_depsgraph_debug.h" |