diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-31 14:56:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-31 16:31:41 +0300 |
commit | c1da8e3b28f95188f9e9152383856c95f29586b4 (patch) | |
tree | 611acd206bfb126f076e78caa047b14bcd3673b6 /source/blender/depsgraph/intern/builder/deg_builder_map.h | |
parent | 7ccef23c4d010d4b4f83efe2cd6c82ff26824a10 (diff) |
Depsgraph: Comb code to a better state all over
Some summary of changes:
- Don't use DEG prefix for types and enumerator values:
the code is already inside DEG namespace.
- Put code where it locally belongs to: avoid having one
single header file with all sort of definitions in it.
- Take advantage of modern C++11 enabled by default.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_map.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_map.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_map.h b/source/blender/depsgraph/intern/builder/deg_builder_map.h index 5ad22a9aa77..3620d7ca3dd 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_map.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_map.h @@ -41,16 +41,14 @@ public: ~BuilderMap(); /* Check whether given ID is already handled by builder (or if it's being - * handled). - */ + * handled). */ bool checkIsBuilt(ID *id); /* Tag given ID as handled/built. */ void tagBuild(ID *id); /* Combination of previous two functions, returns truth if ID was already - * handled, or tags is handled otherwise and return false. - */ + * handled, or tags is handled otherwise and return false. */ bool checkIsBuiltAndTag(ID *id); template<typename T> bool checkIsBuilt(T *datablock) { |